/* AEVO Global Consulting Theme - McKinsey/Bain Style */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary-color: #0F172A; /* 午夜深藍 - 極致權威 */
    --accent-color: #3B82F6; /* 數位亮藍 - 科技感點綴 */
    --text-dark: #1E293B;
    --text-gray: #475569;
    --text-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-light: #F1F5F9;
    
    /* 麥肯錫風格字體棧 */
    --font-heading: 'Playfair Display', "Georgia", serif; 
    --font-body: 'Lato', "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.8; /* 增加行高，提升閱讀高級感 */
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

a { text-decoration: none; transition: all 0.4s ease; }
img { width: 100%; display: block; object-fit: cover; }

/* --- Navigation --- */
header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-body);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* --- Hero Section (Cinematic) --- */
.hero {
    position: relative;
    height: 85vh; /* 全屏沈浸感 */
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* 降低亮度以凸顯文字 */
}

.hero-content {
    max-width: 800px;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-color); /* 左側藍線 - 顧問業經典設計 */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn:hover {
    background: var(--accent-color);
    color: white;
}

/* --- Content Sections --- */
.section-padding { padding: 6rem 0; }
.bg-off { background-color: var(--bg-light); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.text-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-block p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* --- Image Styling (Sharp & Clean) --- */
.feature-img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 2px; /* 銳利邊角 */
    height: 400px;
}

/* --- Service Cards (Minimalist) --- */
.service-card {
    background: white;
    padding: 3rem 2rem;
    border-top: 1px solid #e2e8f0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-top: 3px solid var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

footer .logo { color: white; }

/* --- RWD Mobile Optimization --- */
@media (max-width: 768px) {
    .hero { height: 70vh; }
    .hero h1 { font-size: 2.5rem; }
    .hero-content { border-left: none; padding-left: 0; }
    
    .nav-links {
        display: none; /* 簡易版：手機隱藏選單，實際專案建議加漢堡選單 JS */
        /* 若要簡單顯示，可改為：
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem; */
    }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 3rem; }
    .feature-img { height: 300px; }
    .container { padding: 0 1.5rem; }
    
    footer .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}