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

/* ── Hero (EN layout) ── */
.hero{background:linear-gradient(180deg,var(--mist) 0%,#fff 100%);padding:5rem 0 6.875rem;position:relative;overflow:hidden;min-height:560px}
.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:0 2.5rem;position:relative;z-index:2}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;align-items:center}
.hero-left,.hero-right {min-width: 0;}
.hero-visual {width: 100%; min-width: 0;}
.hero-eyebrow{font-family:'JetBrains Mono',monospace;font-size:0.9375rem;color:var(--green-deep);letter-spacing:0.15em;text-transform:uppercase;margin-bottom:1.375rem;display:flex;align-items:center;gap:0.625rem;font-weight:600;flex-wrap:wrap}
.hero-eyebrow::before{content:"";width:24px;height:1px;background:var(--gold)}
.hero-title{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:3.375rem;line-height:1.2;letter-spacing:0.02em;color:var(--ink);margin-bottom:1rem}
.hero-title .accent{color:var(--green-deep);display:block;border-bottom:3px solid var(--gold);padding-bottom:0.375rem;width:fit-content}
.hero-subtitle{font-size:1.125rem;line-height:1.85;color:var(--text);max-width:480px;margin-bottom:2.5rem;font-weight:400}

.hero-ctas{display:flex;flex-direction:column;gap:0.875rem}
.cta-btn{display:flex;align-items:center;gap:1rem;padding:1.125rem 1.5rem;border-radius:16px;text-decoration:none;cursor:pointer;transition:all .3s;position:relative;overflow:hidden}
.cta-btn-primary{background:linear-gradient(135deg,#208773 0%,#226B5C 100%);color:#fff;box-shadow:0 6px 20px -8px rgba(34,107,92,0.5)}
.cta-btn-primary:hover{transform:translateY(-3px);box-shadow:0 12px 28px -8px rgba(34,107,92,0.45)}
.cta-btn-secondary{background:#fff;border:1.5px solid var(--line);color:var(--ink);box-shadow:0 3px 12px -4px rgba(0,0,0,0.08)}
.cta-btn-secondary:hover{border-color:var(--green-soft);transform:translateY(-2px);box-shadow:0 8px 20px -8px rgba(45,138,118,0.2)}
.cta-btn-tertiary{background:var(--ink);color:#fff;box-shadow:0 6px 20px -8px rgba(26,58,51,0.4)}
.cta-btn-tertiary:hover{transform:translateY(-3px);box-shadow:0 12px 28px -8px rgba(26,58,51,0.35)}
.cta-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cta-btn-primary .cta-icon{background:rgba(255,255,255,0.18)}
.cta-btn-secondary .cta-icon{background:linear-gradient(135deg,#2EA398,#226B5C);color:#fff}
.cta-btn-tertiary .cta-icon{background:rgba(255,255,255,0.12)}
.cta-text {flex: 1; min-width: 0;}
.cta-icon svg{width:22px;height:22px}
.cta-icon img{width:22px;height:22px;display:block;object-fit:contain}
.cta-title{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:1.125rem;letter-spacing:0.04em;line-height:1.2;overflow-wrap:break-word}
.cta-desc{font-size:0.8125rem;margin-top:0.125rem;letter-spacing:0.03em}
.cta-arrow{margin-left:auto;flex-shrink:0;opacity:0.6;transition:all .25s}
.cta-arrow svg{width:16px;height:16px}
.cta-btn:hover .cta-arrow{opacity:1;transform:translateX(3px)}
.cta-btn-primary::after{content:"";position:absolute;top:0;left:24px;width:40px;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold-soft));border-radius:0 0 2px 2px}

.hero-right{position:relative}
.hero-visual{border-radius:24px;overflow:hidden;box-shadow:0 20px 48px -16px rgba(20,48,42,0.3);border:1px solid rgba(255,255,255,0.5);background:linear-gradient(135deg, #1A3A33 0%, #24816D 50%, #018E9B 100%);display:flex;align-items:stretch;justify-content:center;position:relative}
.hero-visual-inner{text-align:center;color:#fff;padding:2.5rem;position:relative;z-index:2;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hero-visual-icon{width:90px;height:90px;border-radius:24px;background:rgba(255,255,255,0.14);border:1px solid rgba(255,255,255,0.28);display:flex;align-items:center;justify-content:center;margin:1rem auto 1.5rem;animation:floatBadge 5s ease-in-out infinite}
@keyframes floatBadge{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.hero-visual-icon img{width:48px;height:48px;display:block;object-fit:contain}
.hero-visual-label{font-family:'JetBrains Mono',monospace;font-size:0.8125rem;letter-spacing:0.2em;text-transform:uppercase;margin-bottom:0.625rem}
.hero-visual-title{font-family:'Noto Sans TC',sans-serif;font-weight:700;font-size:1.625rem;line-height:1.3;margin-bottom:0.375rem;overflow-wrap:break-word}
.hero-visual-sub{font-size:0.875rem;line-height:1.7}
.hero-visual::before{content:"";position:absolute;top:-60px;right:-60px;width:250px;height:250px;border-radius:50%;background:rgba(255,255,255,0.08);pointer-events:none}
.hero-visual::after{content:"";position:absolute;bottom:-40px;left:-40px;width:180px;height:180px;border-radius:50%;background:rgba(52,193,206,0.18);pointer-events:none}
.hero-visual-gold{position:absolute;top:0;left:40px;width:48px;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-soft));border-radius:0 0 3px 3px;z-index:3}
.hero-visual-stats{display:flex;gap:0;margin-top:1.75rem;background:rgba(0,0,0,0.18);border-radius:12px;overflow:hidden;border-top:1px solid var(--gold)}
.hero-stat{flex:1;padding:1.375rem 1rem;text-align:center;border-right:1px solid rgba(255,255,255,0.12);display:flex;flex-direction:column;align-items:center;justify-content:center}
.hero-stat:last-child{border-right:none}
.hero-stat-num{font-family:'Noto Sans TC',sans-serif;font-size:1.5rem;font-weight:700;color:#fff;line-height:1}
.hero-stat-unit{font-size:0.6875rem;opacity:0.6;margin-left:0.125rem}
.hero-stat-label{font-size:0.75rem;color:#FCDF92;opacity:1;margin-top:0.4375rem;letter-spacing:0.06em;font-weight:500}
/* ── Page-specific RWD ── */
@media (max-width:1240px){
  .hero-title{font-size:2.875rem}
}
@media (max-width:67.5rem){.hero-grid{gap:2.25rem}
.hero-title{font-size:2.5rem}
.hero-subtitle{font-size:1rem}
}
@media (max-width:68.75rem){.hero{padding:3.5rem 0 5rem}
.hero-grid{grid-template-columns:1fr;gap:2.5rem}
.hero-subtitle{max-width:100%}
.hero-right{max-width:30rem;margin:0 auto}
}
@media (max-width:600px){.hero{padding:2.75rem 0 4rem}
.hero-title{font-size:1.75rem}
.hero-inner{padding-left:1.125rem;padding-right:1.125rem}
.hero-ctas{gap:0.625rem}
.cta-btn{padding:0.875rem 1.125rem;gap:0.5rem;flex-wrap:wrap}
.cta-icon{width:40px;height:40px;flex-basis:auto;flex-shrink:0}
.cta-text{flex:1;min-width:0;flex-basis:100%}
.cta-arrow{margin-left:0}
.hero-stat-num{font-size:1.375rem}

  .hero-visual-inner{padding:1.75rem 1.25rem}
.hero-visual-icon{width:64px;height:64px}
.hero-visual-icon img{width:36px;height:36px}
.hero-visual-title{font-size:1.25rem}
.hero-stat{padding:0.75rem 0.5rem}
.hero-stat-num{font-size:1.375rem}
.hero-visual-label{font-size:0.6875rem;letter-spacing:0.1em}
}
@media (max-width:400px){.hero-stat-num{font-size:1.125rem}
.hero-stat-label{font-size:0.625rem;letter-spacing:0.03em}
.hero-visual-stats{flex-wrap:wrap}
.hero-stat{flex:1 1 50%;border-right:none;border-bottom:1px solid rgba(255,255,255,0.12)}
.hero-stat:last-child{border-bottom:none}
}
