/* 重置和基礎樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* 背景線條 */
.background-lines {
    position: absolute;
    top: 0;
    right: -20%; /* 靠右並稍微延伸 */
    width: 120%; /* 增加寬度以覆蓋延伸的空間 */
    height: 100%;
    z-index: 10; 
    overflow: hidden;
}

.lines-image {
    position: absolute;
    top: 0;
    right: 0; /* 右對齊 */
    height: 100%;
    width: auto;
    opacity: 2; /* 增加不透明度，加深白色 */
    object-fit: cover;
}

/* 主要內容 */
.main-content {
    position: relative;
    z-index: 5; /* 提高層級，確保在線條前方 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Header 和 Logo - 調整位置並放大1.5倍 */
.header {
    position: absolute;
    top: 2rem; /* 往下移動 */
    right: 6rem; /* 往左移動 */
    z-index: 10;
}

.logo {
    height: 180px; /* 放大1.5倍：120px * 1.5 = 180px */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* 女性圖片 - 移除左右邊界限制 */
.hero-image {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 100%; /* 完全橫跨螢幕寬度 */
    height: 100vh;
    overflow: hidden;
    z-index: 2; 
}

.woman-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left left; /* 將人物靠左對齊 */
    filter: brightness(0.9) contrast(1.1);
}

/* 內容區域 - 置中對齊 */
.content {
    position: relative;
    z-index: 6; /* 確保在所有元素前方 */
    text-align: center;
    margin: 0 auto; /* 改為置中 */
    max-width: 600px; /* 增加最大寬度 */
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.launch-text {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

/* 通知按鈕 - 確保置中 */
.notify-btn {
    top: 200px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto 3rem auto; /* 確保置中 */
    display: block; /* 改為block以便置中 */
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.notify-btn:active {
    transform: translateY(-1px);
}

/* 社交媒體圖標 - 放大2倍 */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
    margin: 0 auto; /* 確保置中 */
}

.social-link {
    display: block;
    width: 100px; /* 放大2倍：50px * 2 = 100px */
    height: 100px; /* 放大2倍：50px * 2 = 100px */
    transition: transform 0.3s ease;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link:hover img {
    filter: brightness(1.1);
}

/* 彈窗樣式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    margin: 10% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.modal-content p {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #fff;
}

/* 電子郵件表單 */
.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#emailInput {
    padding: 1rem;
    border: 2px solid #444;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#emailInput:focus {
    outline: none;
    border-color: #fff;
}

#emailInput::placeholder {
    color: #999;
}

.email-form button {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-form button:hover {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    transform: translateY(-2px);
}

/* 成功訊息 */
.success-message {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
}

.success-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    margin: 15% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: successSlideIn 0.5s ease-out;
}

.success-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.success-content p {
    color: #ccc;
    font-size: 1.1rem;
}

/* 動畫 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .hero-image {
        left: 0;
        width: 100%; /* 完全橫跨螢幕 */
    }
    
    .content {
        max-width: 500px;
    }
    
    .tagline {
        font-size: 2rem;
    }
    
    .launch-text {
        font-size: 2.5rem;
    }
    
    .logo {
        height: 150px; /* 較小螢幕上的適當大小 */
    }
    
    .header {
        top: 3rem;
        right: 4rem;
    }
    
    .social-link {
        width: 80px; /* 較小螢幕上的適當大小 */
        height: 80px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .header {
        top: 1.5rem;
        right: 2rem;
    }
    
    .logo {
        height: 120px; /* 移動設備上適當大小 */
    }
    
    .hero-image {
        position: relative;
        left: 0;
        width: 100%;
        height: 50vh;
        margin-bottom: 2rem;
    }
    
    .woman-image {
        object-position: center center; /* 移動設備上居中顯示 */
    }
    
    .content {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .tagline {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .launch-text {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .notify-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .social-icons {
        gap: 1.5rem;
    }
    
    .social-link {
        width: 60px; /* 移動設備上的適當大小 */
        height: 60px;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
    
    .modal-content h3 {
        font-size: 1.5rem;
    }
    
    .success-content {
        margin: 25% auto;
        padding: 2rem;
    }
    
    .background-lines {
        right: -10%; /* 移動設備上調整線條位置 */
        width: 110%;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1.5rem;
    }
    
    .launch-text {
        font-size: 1.8rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-link {
        width: 50px; /* 小螢幕上的適當大小 */
        height: 50px;
    }
    
    .logo {
        height: 100px;
    }
    
    .header {
        top: 1rem;
        right: 1rem;
    }
}
