/* home.css — 頁面專屬樣式（共用元件請見 global.css） */

/* ── Hero ── */
.hero{background:linear-gradient(180deg,var(--mist) 0%,#F4F8F6 100%);padding:3.75rem 0 4rem;position:relative;overflow:hidden;min-height:480px}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hero-bg svg{width:100%;height:100%;display:block}
.hero-inner{max-width:1320px;margin:0 auto;padding-top:0;padding-bottom:0;padding-left:2.5rem;padding-right:2.5rem;position:relative;z-index:2}
.hero-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:3.125rem;align-items:center}
.hero-eyebrow{font-family:'JetBrains Mono',monospace;font-size:0.9375rem;color:var(--green-deep);letter-spacing:0.25em;text-transform:uppercase;margin-bottom:1.125rem;display:flex;align-items:center;gap:0.625rem;font-weight:600}
.hero-eyebrow::before{content:"";width:24px;height:1px;background:var(--gold)}
.hero-title{font-family:'Noto Serif TC',serif;font-weight:700;font-size:4.25rem;line-height:1.12;letter-spacing:0.02em;color:var(--ink);margin-bottom:1.5rem}
.hero-title .accent{color:var(--green-deep);font-weight:500;font-style:italic;border-bottom:3px solid var(--gold);padding-bottom:0.25rem}
.hero-subtitle{font-size:1.031rem;line-height:1.9;color:var(--text);max-width:560px;margin-bottom:2.25rem;font-weight:400}
/* ── Dashboard Swiper ── */
.dashboard-swiper{position:relative;aspect-ratio:5.5/3;width:min(700px,100%);margin:0 auto;border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.55);box-shadow:0 14px 36px -14px rgba(20,48,42,.35)}
.dashboard-track{display:flex;width:100%;height:100%;transition:transform .45s ease}
.dashboard-slide{min-width:100%;height:100%;position:relative;overflow:hidden}
.dashboard-slide img{width:100%;height:100%;object-fit:cover;display:block}
.dashboard-slide svg.slide-art{width:100%;height:100%;display:block}
.dashboard-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(20,48,42,.18) 100%);pointer-events:none}
.dashboard-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.78);background:rgba(18,50,42,.35);color:#fff;display:flex;align-items:center;justify-content:center;z-index:2;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .22s ease,background .22s ease;padding:0}
.dashboard-nav svg{width:1rem;height:16px;display:block}
.dashboard-swiper:hover .dashboard-nav{opacity:1;pointer-events:auto}
.dashboard-prev{left:18px}.dashboard-next{right:18px}
.dashboard-nav:hover{background:rgba(18,50,42,.56)}
.dashboard-pagination{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:0.4375rem;z-index:2}
.dashboard-dot{width:8px;height:8px;border-radius:50%;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.35);cursor:pointer;padding:0;border:none}
.dashboard-dot.active{background:#fff}
/* ── Courses Section ── */
.courses-section{background:#F4F8F6;position:relative;overflow:hidden}
.courses-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.courses-bg svg{width:100%;height:100%;display:block}
.courses-section .section-inner{position:relative;z-index:1}
.courses-layout{display:grid;grid-template-columns:280px 1fr;gap:1.75rem;align-items:stretch}
.courses-col{display:flex;flex-direction:column}
.courses-col-label{font-family:'Noto Sans TC',sans-serif;font-weight:600;font-size:1.375rem;color:var(--ink);letter-spacing:0.08em;margin-bottom:1.375rem;padding-bottom:0.875rem;border-bottom:2px solid var(--gold);width:fit-content}
.courses-cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0.75rem;flex:1;align-content:start}
.course-feature{background:linear-gradient(135deg,#18625B 0%,#226B5C 100%);border-radius:16px;padding:2.25rem 1.75rem;color:#fff;display:flex;flex-direction:column;justify-content:space-between;flex:1;cursor:pointer;transition:all .3s;position:relative;overflow:hidden;box-shadow:0 8px 24px -8px rgba(45,138,118,0.4);text-decoration:none}
.course-feature::before{content:"";position:absolute;top:-30px;right:-30px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,0.15);pointer-events:none;animation:featureOrb 8s ease-in-out infinite}
@keyframes featureOrb{0%,100%{transform:translate(0,0) scale(1);opacity:1}50%{transform:translate(-8px,6px) scale(1.08);opacity:0.85}}
.course-feature::after{content:"";position:absolute;top:0;left:36px;width:48px;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-soft));border-radius:0 0 3px 3px}
.course-feature:hover{transform:translateY(-4px);box-shadow:0 16px 36px -12px rgba(45,138,118,0.4)}
.course-feature-icon{width:78px;height:78px;background:#fff;border:1px solid var(--gold-soft);border-radius:18px;display:flex;align-items:center;justify-content:center;color:var(--gold);position:relative;z-index:1;box-shadow:0 8px 20px -6px rgba(212,169,74,0.4),0 0 0 4px rgba(212,169,74,0.08)}
.course-feature-icon svg{width:42px;height:42px}
.course-feature-icon img{width:42px;height:42px;display:block;object-fit:contain}
.course-feature-deco{position:absolute;left:28px;bottom:28px;width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(212,169,74,0.2);z-index:1}
.course-feature-title{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:2.625rem;letter-spacing:0.08em;line-height:1.2;margin-top:auto;position:relative;z-index:1}
.course-feature-title-en{font-family:'Noto Sans TC',sans-serif;font-weight:400;font-size:0.9375rem;color:#f0d280;margin-top:0.5rem;letter-spacing:0.18em;text-transform:uppercase}
.course-feature-arrow{width:36px;height:36px;border:1px solid rgba(255,255,255,0.4);border-radius:50%;display:flex;align-items:center;justify-content:center;align-self:flex-end;margin-top:0.875rem;position:relative;z-index:1;transition:all .25s}
.course-feature:hover .course-feature-arrow{background:var(--gold);border-color:var(--gold)}
.course-feature-arrow svg{width:14px;height:14px}
.course-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0.9rem 1.05rem;cursor:pointer;transition:all .25s;display:flex;flex-direction:row;align-items:center;gap:0.85rem;min-height:82px;position:relative;overflow:hidden;box-shadow:0 2px 10px -4px rgba(45,138,118,0.08);text-decoration:none}
.course-card > div:not([class]){flex:1 1 auto;min-width:0}
.course-card::before{content:"";position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(180deg,var(--gold) 0%,var(--gold-soft) 100%);transform:scaleY(0);transform-origin:top;transition:transform .35s ease}
.course-card:hover::before{transform:scaleY(1)}
.course-card:hover{border-color:var(--green-soft);transform:translateY(-3px);box-shadow:0 16px 32px -12px rgba(45,138,118,0.25)}
.course-card-icon{width:46px;height:46px;border-radius:12px;background:linear-gradient(135deg,#2EA398 0%,#226B5C 100%);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;box-shadow:0 4px 12px -4px rgba(45,138,118,0.4)}
.course-card-icon svg{width:25px;height:25px}
.course-card-icon img{width:25px;height:25px;display:block;object-fit:contain}
.course-card-title{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:1.125rem;color:var(--green-deep);letter-spacing:0.03em;line-height:1.2}
.course-card-title-en{font-family:'Noto Sans TC',sans-serif;font-weight:500;font-size:0.625rem;color:#90722f;margin-top:0.18rem;letter-spacing:0.05em;text-transform:uppercase;line-height:1.25;overflow-wrap:break-word}
.course-card-meta{display:flex;flex-direction:column-reverse;align-items:flex-end;justify-content:center;gap:0.4rem;margin-top:0;padding-top:0;border-top:none;flex-shrink:0}
.course-card-count{font-family:'Noto Sans TC',sans-serif;font-size:1.0625rem;font-weight:700;color:var(--green-deep);line-height:1;text-align:right;white-space:nowrap}
.course-card-count .label{font-family:'Noto Sans TC',sans-serif;font-size:0.625rem;color:var(--text-muted);font-weight:400;display:inline;margin-left:0.15rem;letter-spacing:0.04em}
.course-card-arrow{width:28px;height:28px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--green);transition:all .2s}
.course-card:hover .course-card-arrow{background:var(--gold);color:#fff;border-color:var(--gold)}
.course-card-arrow svg{width:12px;height:12px}
/* ── Certification Section ── */
.cert-section{background:linear-gradient(135deg, #366D61 0%, #18715D 60%,#0D5647 100%);padding:4.5rem 0;color:#fff;position:relative;overflow:hidden}
.cert-section::before{content:"";position:absolute;top:-200px;right:-200px;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,0.12) 0%,transparent 60%);pointer-events:none;z-index:1}
.cert-section::after{content:"";position:absolute;bottom:-150px;left:30%;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(52,193,206,0.18) 0%,transparent 60%);pointer-events:none;z-index:1}
.cert-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.cert-bg svg{width:100%;height:100%;display:block}
.cert-inner{max-width:1320px;margin:0 auto;padding-top:0;padding-bottom:0;padding-left:2.5rem;padding-right:2.5rem;position:relative;display:grid;grid-template-columns:1fr 1.6fr;gap:5rem;align-items:center;z-index:2}
.cert-inner .section-eyebrow{color:rgba(255,255,255)}
.cert-inner .section-eyebrow::before{background:var(--gold-soft)}
.cert-section-title{font-family:'Noto Serif TC',serif;font-weight:700;font-size:3.375rem;letter-spacing:0.04em;line-height:1.1;background:linear-gradient(90deg,#fff 0%,#fff 85%,#E8CB7E 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 4px 14px rgba(0,0,0,0.18))}
.cert-section-title-cn{font-size:3.125rem;margin-bottom:0.5rem}
.cert-desc{font-size:0.9375rem;color:rgba(255,255,255);line-height:1.9;margin-top:1.5rem;font-weight:400;max-width:380px}
.cert-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.cert-btn{background:#fff;border-radius:16px;padding:1.375rem 1.5rem;cursor:pointer;transition:all .35s cubic-bezier(0.4,0,0.2,1);display:flex;flex-direction:column;gap:0.875rem;text-decoration:none;color:var(--ink);min-height:140px;position:relative;overflow:hidden;box-shadow:0 4px 16px -8px rgba(0,0,0,0.12),0 2px 6px -2px rgba(0,0,0,0.08)}
.cert-btn::before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#2EA398 0%,var(--teal-soft) 50%,var(--gold-soft) 100%);transform:scaleX(0);transform-origin:left;transition:transform .4s ease}
.cert-btn::after{content:"";position:absolute;top:-40px;right:-40px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(127,216,224,0.25) 0%,transparent 65%);opacity:0.6;transition:all .4s}
.cert-btn:hover{transform:translateY(-5px);box-shadow:0 18px 36px -10px rgba(45,138,118,0.3),0 4px 10px -2px rgba(45,138,118,0.15)}
.cert-btn:hover::before{transform:scaleX(1)}
.cert-btn:hover::after{top:-30px;right:-30px;width:160px;height:160px;opacity:1}
.cert-btn-icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#2EA398 0%,#226B5C 100%);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;transition:all .35s;box-shadow:0 6px 14px -4px rgba(34,107,92,0.4);position:relative}
.cert-btn-icon::after{content:"";position:absolute;inset:-4px;border-radius:18px;border:1.5px dashed rgba(46,163,152,0.3);opacity:0;transition:all .35s;animation:spin 12s linear infinite paused}
.cert-btn:hover .cert-btn-icon{transform:rotate(-6deg) scale(1.08)}
.cert-btn:hover .cert-btn-icon::after{opacity:1;animation-play-state:running}
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.cert-btn-icon svg{width:22px;height:22px}
.cert-btn-icon img{width:22px;height:22px;display:block;object-fit:contain}
.cert-btn-content{display:flex;flex-direction:column;gap:0.1875rem;position:relative;z-index:2;padding-top:0.875rem;margin-top:auto;border-top:1.5px solid var(--gold)}
.cert-btn-title{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:1.188rem;color:var(--green-deep);letter-spacing:0.04em;line-height:1.2;transition:color .25s}
.cert-btn:hover .cert-btn-title{color:var(--ink)}
.cert-btn-en{font-family:'Noto Sans TC',sans-serif;font-size:0.75rem;color:var(--text-muted);letter-spacing:0.15em;font-weight:500;text-transform:uppercase}
.cert-btn-bottom{display:flex;justify-content:flex-end;align-items:center;position:relative;z-index:2}
.cert-btn-arrow{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--green);transition:all .35s;flex-shrink:0}
.cert-btn-arrow svg{width:14px;height:14px}
.cert-btn:hover .cert-btn-arrow{background:linear-gradient(135deg,#2EA398,#226B5C);color:#fff;border-color:transparent;transform:rotate(-45deg)}
/* ── FAQ Section ── */
.faq-section{background-color:#F2F4F2;background-image:radial-gradient(rgba(34,107,92,0.12) 1px,transparent 1px),radial-gradient(rgba(255,255,255,0.5) 1px,transparent 1px);background-size:14px 14px,14px 14px;background-position:0 0,7px 7px;padding:2.75rem 0 2.5rem;border-bottom:1px solid var(--line-soft)}
/* ── Newsletter ── */
.newsletter {background-color: #F8F6F1;background-image: radial-gradient(rgba(34,107,92,0.10) 1px,transparent 1px),radial-gradient(rgba(255,255,255,0.5) 1px,transparent 1px);background-size: 14px 14px,14px 14px;background-position: 0 0,7px 7px;border-bottom: 1px solid var(--line-soft);padding:3.75rem 0;position: relative;overflow: hidden;}
.newsletter-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.newsletter-bg svg{width:100%;height:100%;display:block}
.newsletter::before{content:"";position:absolute;top:-100px;right:-100px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,0.15) 0%,transparent 60%);pointer-events:none}
.newsletter::after{content:"";position:absolute;bottom:-100px;left:-100px;width:400px;height:400px;border-radius:50%;pointer-events:none}
.newsletter-inner{max-width:1320px;margin:0 auto;padding-top:0;padding-bottom:0;padding-left:2.5rem;padding-right:2.5rem;display:grid;grid-template-columns:1fr 1.4fr;gap:5rem;align-items:center;position:relative;z-index:2}
.newsletter h3 {font-family: 'Noto Serif TC',serif;font-weight: 700;font-size: 2.25rem;letter-spacing: 0.02em;color: var(--ink);filter: drop-shadow(0 4px 14px rgba(0,0,0,0.18))}
.newsletter p {font-size: 0.9375rem;color: var(--ink);line-height: 1.85;font-weight: 400}
.newsletter-form{display:flex;flex-direction:column;gap:0.875rem}
.newsletter-row{display:flex;background:#fff;border-radius:50px;padding:0.5rem 0.5rem 0.5rem 1.75rem;align-items:center;gap:0.875rem;box-shadow:0 8px 24px -8px rgba(0,0,0,0.15)}
.newsletter-row input{flex:1;background:transparent;border:0;color:var(--ink);font-size:0.875rem;padding:0.625rem 0;outline:0;font-family:inherit}
.newsletter-row input::placeholder{color:var(--text-muted)}
.newsletter-row button{background:linear-gradient(135deg,var(--green-deep),var(--ink));border:0;color:#fff;font-family:'Noto Sans TC',sans-serif;font-weight:600;font-size:0.8125rem;letter-spacing:0.1em;cursor:pointer;padding:0.75rem 1.625rem;border-radius:30px}
.newsletter-row button:hover{transform:translateY(-1px);box-shadow:0 6px 16px -4px rgba(45,138,118,0.5)}
.newsletter-meta {font-family: 'Noto Sans TC',sans-serif;font-size: 0.9375rem;color: var(--ink);letter-spacing: 0.03em}
.newsletter-bottom {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.newsletter-latest {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    color: var(--green-deep);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, transform .15s;
    font-size: .95rem;
}

.newsletter-latest:hover,
.newsletter-latest:focus{
     transform: translateX(4px);
}

.newsletter-latest-arrow {
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: all .2s;
    background-color:#ffffff;
}
/* ── Exemplary Section ── */
.exemplary-section{background-color:#F8F6F1;background-image:radial-gradient(rgba(34,107,92,0.10) 1px,transparent 1px),radial-gradient(rgba(255,255,255,0.5) 1px,transparent 1px);background-size:14px 14px,14px 14px;background-position:0 0,7px 7px;padding:4rem 0 0 0;}
.exemplary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2rem}
.person{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.75rem 1.375rem;text-align:left;cursor:pointer;transition:all .3s;position:relative;box-shadow:0 2px 10px -4px rgba(45,138,118,0.08)}
.person:hover{border-color:var(--green-soft);transform:translateY(-4px);box-shadow:0 14px 32px -12px rgba(45,138,118,0.25)}
.person-photo-wrap{display:flex;justify-content:center;margin-bottom:1.125rem;position:relative}
.person-photo{width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,var(--mint),var(--green-soft));position:relative;overflow:hidden;box-shadow:0 6px 18px -6px rgba(45,138,118,0.3)}
.person-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(34,107,92,0.3) 100%)}
.person-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.person-badge{position:absolute;bottom:-2px;right:calc(50% - 56px);width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold-soft));display:flex;align-items:center;justify-content:center;color:#fff;border:2px solid #fff;box-shadow:0 2px 6px rgba(212,169,74,0.4)}
.person-badge img{width:16px;height:16px;display:block;object-fit:contain}
.person-name{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:1.375rem;color:var(--ink);letter-spacing:0.05em;margin-bottom:0.375rem;text-align:center}
.person-role{font-family:'Noto Sans TC',sans-serif;font-size:1.062rem;color:var(--green-deep);font-weight:600;margin-bottom:0.875rem;text-align:center;padding-bottom:0.875rem;border-bottom:1px solid var(--line-soft)}
.person-co{font-size:0.9375rem;color:var(--text);line-height:1.7;text-align:center}
.exemplary-more{display:flex;justify-content:center;margin-top:1.75rem}
/* ── Annual Results ── */
.results-section{background:linear-gradient(135deg, #366D61 0%, #18715D 50%, #0D5647 100%);padding:4rem 0 4.5rem;position:relative;overflow:hidden;color:#fff}
.results-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.results-bg svg{width:100%;height:100%;display:block}
.results-inner{max-width:1320px;margin:0 auto;padding-top:0;padding-bottom:0;padding-left:2.5rem;padding-right:2.5rem;position:relative;z-index:2}
.results-head{margin-bottom:2.625rem;max-width:600px}
.results-title{font-family:'Noto Serif TC',serif;font-weight:700;font-size:3.125rem;letter-spacing:0.04em;margin-top:0.875rem;background:linear-gradient(90deg,#fff 0%,#fff 85%,#E8CB7E 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 4px 14px rgba(0,0,0,0.18))}
.results-desc{font-size:0.8438rem;color:rgba(255,255,255);line-height:1.85;margin-top:0.875rem;font-weight:400}
.results-stats{display:grid;grid-template-columns:1fr 1.1fr;gap:3rem;align-items:center}
.stat-hero{position:relative;display:flex;justify-content:center}
.stat-hero-hex{position:relative;width:360px;height:404px}
.stat-hero-hex svg.hex-main{width:100%;height:100%;filter:drop-shadow(0 20px 40px rgba(0,0,0,0.25)) drop-shadow(0 0 60px rgba(255,255,255,0.15))}
.stat-hero-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1.5rem 4.5rem;text-align:center;overflow:hidden}
.stat-hero-icon{width:54px;height:54px;color:var(--gold);margin-bottom:0.75rem;display:flex;align-items:center;justify-content:center}
.stat-hero-icon img{width:100%;height:100%;display:block;object-fit:contain}
.stat-hero-label{font-family:'Noto Sans TC',sans-serif;font-size:1.062rem;color:var(--green-deep);letter-spacing:0.15em;margin-bottom:0.875rem;font-weight:600}
.stat-hero-label::before{content:"";display:block;width:32px;height:2px;background:var(--gold);margin:0 auto 0.75rem}
.stat-hero-value{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:clamp(1.5rem,5vw,4rem);color:var(--green-deep);line-height:1;letter-spacing:-0.02em;display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:0.125rem;width:100%}
.stat-hero-value .unit{font-family:'Noto Sans TC',sans-serif;font-size:clamp(0.75rem,2vw,1.125rem);font-weight:400;color:var(--text-muted);margin-left:0.125rem;white-space:nowrap}
.stat-hero-float{position:absolute;pointer-events:none}
.stat-hero-float svg{width:100%;height:100%}
.stat-hero-float.f-1{top:-10px;right:-30px;width:60px;height:68px;opacity:0.5;animation:float1 4s ease-in-out infinite}
.stat-hero-float.f-2{bottom:20px;left:-40px;width:42px;height:48px;opacity:0.4;animation:float2 5s ease-in-out infinite}
.stat-hero-float.f-3{top:80px;left:-20px;width:24px;height:28px;opacity:0.6;animation:float1 6s ease-in-out infinite}
@keyframes float1{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(8deg)}}
@keyframes float2{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(8px) rotate(-6deg)}}
.stat-side{display:flex;flex-direction:column;gap:0.875rem}
.stat-mini{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1.25rem;padding:1.125rem 1.5rem;background:rgba(255,255,255,0.05);backdrop-filter:blur(8px);border-radius:14px;border:1px solid rgba(255,255,255,0.28);position:relative;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,0.15)}
.stat-mini::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--gold-soft),transparent)}
.stat-mini::after{content:"";position:absolute;top:14px;right:14px;width:6px;height:6px;border-radius:50%;background:var(--gold-soft);box-shadow:0 0 0 3px rgba(232,203,126,0.18)}
.stat-mini-icon{width:42px;height:42px;background:rgba(255,255,255,0.18);border-radius:11px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;border:1px solid rgba(255,255,255,0.28)}
.stat-mini-icon img{width:20px;height:20px;display:block;object-fit:contain}
.stat-mini-text{display:flex;flex-direction:column;gap:0.1875rem}
.stat-mini-label{font-family:'Noto Sans TC',sans-serif;font-size:0.9375rem;color:rgba(255,255,255);font-weight:500;letter-spacing:0.08em}
.stat-mini-value{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:1.875rem;color:#fff;line-height:1;letter-spacing:-0.01em}
.stat-mini-value .unit{font-size:0.9375rem;color:rgba(255,255,255);font-weight:400;margin-left:0.25rem;font-family:'Noto Sans TC',sans-serif}
/* ── Page-specific RWD ── */
@media (max-width:71.25rem){
  .courses-cert-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1240px){
  .hero-title{font-size:3.625rem}
}
@media (max-width:1150px){
    .cert-buttons{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width:67.5rem){.hero-title{font-size:3.125rem}
.hero-grid{gap:2.25rem}
}
@media (max-width:920px){.hero{padding:0 0 3.5rem;overflow-x:clip}    
.hero-inner{padding-left:1.5rem;padding-right:1.5rem}
.cert-inner{padding-left:1.5rem;padding-right:1.5rem}
.hero-grid{grid-template-columns:1fr;gap:2rem;align-items:stretch}
.hero-grid > .dashboard-swiper{order:-1;width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);border-radius:0;border-left:none;border-right:none;border-top:none}
.hero-title{font-size:2.75rem}
.stat-hero-hex{width:min(300px,80%);height:auto;aspect-ratio:240/268;margin:0 auto}
.stat-hero-content{padding:2rem 1.5rem 3.75rem}
.courses-layout{grid-template-columns:1fr;gap:1.5rem}
.courses-cert-grid{grid-template-columns:repeat(2,1fr)}
.course-feature{min-height:15rem}
.course-feature-title{font-size:2.125rem}
.cert-inner{grid-template-columns:1fr;gap:2.5rem}
.cert-buttons{grid-template-columns:repeat(3,1fr)}
.cert-section-title-cn{font-size:2.625rem}
.results-title{font-size:2.5rem}
.newsletter-inner{grid-template-columns:1fr;gap:1.875rem;padding-left:1.5rem;padding-right:1.5rem}
.newsletter h3{font-size:1.875rem}
.exemplary-grid{grid-template-columns:repeat(2,1fr)}
.results-stats{grid-template-columns:1fr;gap:2rem}
.results-inner{padding-left:1.5rem;padding-right:1.5rem}
.stat-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0.875rem}
.stat-mini{padding:1rem 1.125rem}
.dashboard-prev{left: 54px;}
.dashboard-next{right: 54px;}
.dashboard-pause{left:54px !important;}
}
@media (max-width:767px){
.dashboard-prev {left: 45px;}
.dashboard-next {right: 45px;}
.dashboard-pause{left:45px !important;}
}
@media (max-width:53.75rem){.hero-title{font-size:2.625rem}
}
@media (max-width:42.375rem){.hero-grid{gap:1.75rem}
}
@media (max-width:40rem){.hero{padding:0 0 2.5rem}
.hero-inner{padding-top:0;padding-left:1.125rem;padding-right:1.125rem}
.cert-inner{padding-left:1.125rem;padding-right:1.125rem}
.hero-grid > .dashboard-swiper{width:100vw;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%)}
.hero-eyebrow{font-size:0.8125rem;letter-spacing:0.18em}
.hero-title{font-size:1.875rem;line-height:1.2}
.hero-title .accent{padding-bottom:0.125rem}
.stat-hero-hex{width:min(17.5rem, 100%);height:auto;aspect-ratio:240/268;margin:0 auto}
.stat-hero-content{padding:1.5rem 1.25rem 3.5rem}
.stat-side{grid-template-columns:1fr;gap:0.625rem}
.results-inner{padding-left:1.125rem;padding-right:1.125rem}
.newsletter-inner{padding-left:1.125rem;padding-right:1.125rem}
.stat-mini{padding:0.875rem 1rem;gap:0.875rem}
.stat-mini-icon{width:2.25rem;height:36px}
.stat-mini-value{font-size:1.375rem}
.stat-mini-label{font-size:0.8125rem}
.courses-cert-grid{grid-template-columns:1fr;gap:0.625rem}
.course-card{padding:0.875rem 1rem;min-height:auto}
.course-card-icon{width:48px;height:48px}
.course-card-title{font-size:1.125rem}
.course-card-count{font-size:1.75rem}
.course-feature{padding:1.75rem 1.375rem;min-height:200px}
.course-feature-title{font-size:1.875rem}
.cert-buttons{grid-template-columns:repeat(2,1fr);gap:0.625rem}
.cert-btn{padding:1.125rem 0.875rem;min-height:160px}
.cert-btn-title{font-size:1.062rem}
.cert-section-title-cn{font-size:2rem}
.results-title{font-size:1.875rem}
.newsletter{padding:2.75rem 0}
.newsletter h3{font-size:1.5rem}
.newsletter-row{flex-direction:column;border-radius:18px;padding:0.5rem}
.newsletter-row input{padding:0.75rem 0.875rem;width:100%}
.newsletter-row button{width:100%;padding:0.75rem}
.exemplary-grid{grid-template-columns:1fr;gap:0.875rem}
.person{padding:1.25rem 1.125rem}
}
@media (max-width:380px){.courses-cert-grid,.cert-buttons{grid-template-columns:1fr}
.hero-title{font-size:1.625rem}
.cert-section-title-cn,.results-title{font-size:1.625rem}
}

/* Dashboard pause button */
.dashboard-pause{position:absolute;left:14px;top:8px;z-index:2;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.78);background:rgba(18,50,42,.35);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .22s ease}
.dashboard-pause:hover{background:rgba(18,50,42,.56)}
.dashboard-pause .icon-pause,.dashboard-pause .icon-play{width:14px;height:14px;display:block;position:absolute}
.dashboard-pause .icon-play{display:none}
.dashboard-pause[aria-pressed="true"] .icon-pause{display:none}
.dashboard-pause[aria-pressed="true"] .icon-play{display:block}
