/* 
 * WOW SAY - 全域設計系統與樣式
 * 包含 Minimal Tech 與 Precision Grid 雙模式 
 */

:root {
    /* 色彩系統 (Cinematic Dark / Tech Blueprint) */
    --color-bg: #101820;      /* PANTONE Black 6 C */
    --color-overlay: #1A242E; /* 稍淺的黑色作為層次感 */
    --color-text: #F0F1F0;    /* Cloud Dancer 字體 */
    
    /* 點綴色與強調色 */
    --color-hover: #4abaae;   /* 發光青綠色 (LIG 國防防科技感) */
    --color-primary: #f0f1f0; 
    --color-accent: #fe582e;  /* 警告橘 */
    
    /* 線框色 */
    --color-wireframe: rgba(240, 241, 240, 0.15); /* 藍圖線框 */
    
    /* 字體系統 */
    --font-en: 'Raleway', sans-serif;
    --font-zh: 'Noto Sans TC', sans-serif;

    /* 佈局變數 */
    --border-style: 1px solid var(--color-wireframe);
    --border-grid: 1px solid var(--color-wireframe);
    --grid-gap: 0;
    --container-width: 1400px;
}

/* =========================================
   全域基礎 (Reset & Base) 搭載 Snap Scrolling
========================================= */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-en);
    /* 當網頁有中文時，會自動 fallback 到 Noto Sans TC */
    line-height: 1.6;
    overflow-x: hidden;
}

/* 核心骨架：強制全螢幕區塊 (移除原 CSS 卡扣，交由 GSAP/原生控制) */
.snap-section {
    min-height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-hover);
}

/* =========================================
   導覽列 (Header)
========================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    border-left: var(--border-style);
    border-right: var(--border-style);
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.lang-switch {
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

/* =========================================
   首頁 Hero 區塊 (全螢幕)
========================================= */
.hero-section {
    border-bottom: var(--border-style);
    background-color: var(--color-bg);
}

/* 動態緩慢縮放背景 (Ken Burns Effect) + 滾動視差 (Parallax) */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 使用自動生成的臨時高質感圖 */
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Scheme C: 視覺滾動視差效果 */
    background-attachment: fixed;
    z-index: 0;
    /* 核心動效：緩慢放大，反覆來回 */
    animation: cinematicZoom 20s linear infinite alternate;
}

/* 背景蓋上一層漸層遮罩，確保主視覺與文字清晰度 */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}

@keyframes cinematicZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    /* 藍圖準星特效 */
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
    padding-left: 4rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

/* GSAP 隧道式品牌衝刺層 */
.parallax-brand {
    position: absolute;
    top: 50%; left: 50%;
    /* 初始狀態縮到極小並帶有透視旋轉感 */
    transform: translate(-50%, -50%) scale(0) rotateY(45deg);
    width: 800px;
    height: 500px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 20;
    border: 1px solid var(--color-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
.parallax-brand::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(16, 24, 32, 0.7); /* PANTONE Black 6 半透明遮罩 */
}
.p-brand-name {
    position: relative;
    z-index: 22;
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-text);
    text-transform: uppercase;
}

.hero-slogan {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 30px rgba(0,0,0,1), 0 2px 10px rgba(0,0,0,0.8);
}

.hero-desc {
    font-family: var(--font-zh);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,1);
}



.btn-primary {

    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-text);
}

.btn-primary:hover {
    background-color: var(--color-hover);
    color: #000;
    border-color: var(--color-hover);
    box-shadow: 0 0 20px rgba(74, 186, 174, 0.4);
}
