:root {
    --bg: linear-gradient(135deg, #e8d5c4 0%, #b8d4e0 40%, #8bbfd4 100%);
    --accent: #5aaec8;
    --dark: #1e2a38;
    --text: #1a1a2e;
    --white: #ffffff;
    --card-bg: rgba(255,255,255,0.82);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Section 共用 ── */
.section {
    position: relative;
    padding: 70px 0;
}

.section-label {
    position: absolute;
    top: 24px;
    left: 48px;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 3px;
    font-weight: 300;
}

.two-col {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

h2 {
    font-size: 1.9rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.accent-bar {
    display: inline-block;
    width: 5px;
    height: 1.9rem;
    background: var(--accent);
    border-radius: 3px;
    flex-shrink: 0;
}

.contact-block {
    position: relative !important;
    z-index: 9999 !important; /* 確保它在最頂層 */
    pointer-events: auto !important; /* 強制開啟滑鼠感應 */
}

.email-link {
    display: inline-block; /* 增加點擊範圍 */
    color: #000000 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    padding: 5px; /* 讓範圍大一點比較好點 */
}

.email-link a:hover {
    color: var(--accent)
}
/* ── Hero ── */
.hero {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-inner {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

/* ── Hero logo 置中在標題上方 ── */
.hero-logo-img {
    display: flex;
    justify-content: center;
}

.hero-logo-img img {
    height: 80px;
    width: auto;
}

.hero-inner h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
}

.hero-sub {
    font-size: 1.2rem;
    opacity: 0.75;
    letter-spacing: 2px;
    color: var(--dark);
}

.btn-primary {
    background: var(--accent);
    border: none;
    padding: 14px 52px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    color: var(--white);
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #4a9ab8;
}

.hero-brand-bar {
    border-radius: 10px;
    padding: 18px 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    font-size: 1rem;
}

.brand-title {
    font-size: 1.3rem;
    font-weight: 700;
    border: 2px solid var(--text);
    padding: 4px 12px;
}

.brand-divider {
    font-size: 1.5rem;
    color: #aaa;
}

/* ── Vision + Core 共用右側圖片 ── */
.vision-core-wrapper {
    position: relative;
    padding: 70px 0;
}

.vision-core-inner {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.left-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.left-col .section {
    padding: 0;
    margin-bottom: 40px;
}

.left-col .section:last-child {
    margin-bottom: 0;
}

.right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* ── Vision ── */
.vision .text-side {
    flex: 1.2;
}

.vision .text-side p,
.left-col .section p {
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1rem;
}

.vision-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.vision-card-img-placeholder {
    flex: 1;
    min-height: 600px;
    background: url('../images/介紹.png') center top / cover no-repeat;
    border-radius: 8px;
    margin-bottom: 12px;
    animation: scrollImg 12s linear infinite;
}

@keyframes scrollImg {
    0%   { background-position: center top; }
    100% { background-position: center bottom; }
}

.vision-card-footer {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 3px;
    opacity: 0.5;
}

/* ── Core ── */
.core-left {
    flex: 1.2;
}

.core-left h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 20px 0 10px;
    text-align: center;
}

.core-left ul {
    list-style: none;
    padding: 0;
}

.core-left ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.core-left ul li::before {
    content: "▷";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75rem;
    top: 8px;
}

.core-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.core-img-placeholder {
    border-radius: 10px;
    background: linear-gradient(160deg, #2a3a50, #3a4a60);
}

.core-img-placeholder.top { height: 220px; }
.core-img-placeholder.bottom { height: 160px; }

/* ── Why ── */
.why-col {
    align-items: stretch;
}

.why-left { flex: 1.3; }

.why-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.why-table thead tr {
    background: #e8843a;
    color: var(--white);
}

.why-table th, .why-table td {
    padding: 14px 18px;
    text-align: center;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.why-table tbody tr:last-child td { border-bottom: none; }

.why-right { flex: 1; }

.why-card {
    background: var(--dark);
    border-radius: 20px;
    padding: 28px 24px;
    color: var(--white);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--accent);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.why-item {
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 16px 10px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.why-item span { color: var(--accent); }

/* ── Join ── */
.join-container {
    max-width: 1100px;
}

.join-card {
    background: rgba(255, 255, 255, 0.473);
    border-radius: 16px;
    padding: 48px 60px;
    text-align: center;
    position: relative;
    margin-top: 24px;
}

.join-brand {
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.join-slogan {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 36px;
    color: var(--text);
}

.join-contacts {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-block a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-block a:hover {
    color: var(--accent);
}

.email-link {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.email-link:hover {
    color: var(--accent);
}

.join-logo-img {
    position: absolute;
    bottom: 20px;
    right: 24px;
}

.join-logo-img img {
    height: 48px;
    width: auto;
    opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .two-col { flex-direction: column; }
    .hero-card { padding: 40px 24px; }
    .hero-card h1 { font-size: 2.2rem; }
    .section-label { display: none; }
    .join-card { padding: 32px 20px; }
    .join-contacts { flex-direction: column; align-items: center; gap: 16px; }
}
