/* 優化英雄區域樣式 - 簡潔現代設計 */

/* 英雄區域主容器 - 大幅減少高度 */
.hero-section-optimized {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景層 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(18, 18, 18, 0.9) 0%,
        rgba(26, 26, 26, 0.8) 25%,
        rgba(18, 18, 18, 0.7) 50%,
        rgba(26, 26, 26, 0.8) 75%,
        rgba(18, 18, 18, 0.9) 100%
    );
}

/* 粒子效果 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: particles-float 20s ease-in-out infinite;
}

@keyframes particles-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* 內容層 */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 左側主內容 */
.hero-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

/* 標籤 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.badge-icon {
    color: #3B82F6;
    font-size: 1rem;
}

.badge-text {
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 主標題 */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    color: #FFFFFF;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line-1 {
    background: linear-gradient(135deg, #FFFFFF 0%, #E5E7EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-2 {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-3 {
    background: linear-gradient(135deg, #10B981 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 副標題 */
.hero-subtitle {
    font-size: 1.25rem;
    color: #D1D5DB;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
    text-align: center;
}


/* 右側展示區域 */
.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* 浮動元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.floating-1 {
    top: 15%;
    left: 15%;
    animation: float-1 6s ease-in-out infinite;
}

.floating-2 {
    top: 25%;
    right: 20%;
    animation: float-2 8s ease-in-out infinite;
}

.floating-3 {
    bottom: 30%;
    left: 25%;
    animation: float-3 7s ease-in-out infinite;
}

.floating-4 {
    top: 50%;
    right: 15%;
    animation: float-4 9s ease-in-out infinite;
}

.floating-5 {
    bottom: 15%;
    right: 30%;
    animation: float-5 6.5s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(-180deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(90deg); }
}

@keyframes float-4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(-90deg); }
}

@keyframes float-5 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(120deg); }
}


/* 響應式設計 */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .hero-showcase {
        order: -1;
        min-height: 250px;
    }
    
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-showcase {
        order: -1;
        min-height: 200px;
    }
    
    
    .hero-title {
        font-size: clamp(2.2rem, 5.5vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        line-height: 1.1;
        gap: 0.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 100%;
        padding: 0 0.5rem;
        text-align: center;
    }
    
    
    .hero-showcase {
        min-height: 250px;
        order: -1;
    }
    
    .floating-card {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-container {
        padding: 0 0.75rem;
        gap: 1.25rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 4.5vw, 2.8rem);
        line-height: 1.1;
        gap: 0.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 100%;
        padding: 0 0.25rem;
        text-align: center;
    }
    
    
    .hero-showcase {
        min-height: 200px;
        order: -1;
    }
    
    .floating-card {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* 超小屏幕優化 */
@media (max-width: 360px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-container {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .hero-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        line-height: 1.1;
        gap: 0.15rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    
    .hero-showcase {
        min-height: 180px;
        order: -1;
    }
    
    .floating-card {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* 極小屏幕優化 - 320px以下 */
@media (max-width: 320px) {
    .hero-section {
        min-height: 380px;
    }
    
    .hero-container {
        padding: 0 0.4rem;
        gap: 0.8rem;
    }
    
    .hero-badge {
        padding: 0.35rem 0.7rem;
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 3.5vw, 1.9rem);
        line-height: 1.1;
        gap: 0.1rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        line-height: 1.3;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    
    .hero-showcase {
        min-height: 160px;
        order: -1;
    }
    
    .floating-card {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* 重新設計快速訪問區域 - 全寬佈局 */
.py-12.-mt-16.relative.z-20 {
    padding-top: 2.5rem !important; /* 進一步增加內邊距 */
    padding-bottom: 2.5rem !important;
    margin-top: -2rem !important; /* 調整負margin - 減少負margin因為英雄區域更短了 */
}

/* 改為水平佈局 */
.py-12.-mt-16.relative.z-20 .grid {
    display: flex !important; /* 改為flex佈局 */
    flex-wrap: wrap !important;
    gap: 1.25rem !important; /* 進一步增加間距 */
    justify-content: center !important;
}

/* 重新設計卡片樣式 - 垂直佈局 */
.py-12.-mt-16.relative.z-20 .bg-dark-card {
    padding: 1.25rem 1.5rem !important; /* 進一步增加內邊距 */
    border-radius: 1rem !important; /* 更大的圓角 */
    display: flex !important; /* 使用flex佈局 */
    flex-direction: column !important; /* 垂直方向 */
    align-items: center !important; /* 水平居中 */
    text-align: center !important; /* 居中對齊 */
    min-width: 0 !important; /* 允許收縮 */
    flex: 1 !important; /* 平均分配空間 */
    max-width: none !important; /* 移除最大寬度限制 */
    min-height: 5rem !important; /* 進一步增加最小高度 */
    width: 100% !important; /* 確保全寬 */
}

/* 重新設計圖標樣式 */
.py-12.-mt-16.relative.z-20 .w-14.h-14 {
    width: 3rem !important; /* 進一步增加圖標容器 */
    height: 3rem !important;
    margin-bottom: 1rem !important; /* 增加底部間距 */
    margin-right: 0 !important; /* 移除右邊距 */
    flex-shrink: 0 !important; /* 防止收縮 */
}

/* 重新設計文字樣式 - 使用最強的選擇器 */
.py-12.-mt-16.relative.z-20 .bg-dark-card h3,
.py-12.-mt-16.relative.z-20 h3,
.py-12.-mt-16.relative.z-20 .bg-dark-card a h3,
.py-12.-mt-16.relative.z-20 a h3 {
    font-size: 1.125rem !important; /* 進一步增加標題字體 */
    margin-bottom: 0 !important; /* 移除底部間距 */
    white-space: normal !important; /* 允許換行 */
    overflow: visible !important; /* 允許內容顯示 */
    text-overflow: unset !important; /* 移除省略號 */
    font-weight: 600 !important; /* 加粗標題 */
    text-decoration: none !important; /* 移除下劃線 */
    line-height: 1.3 !important; /* 設置行高 */
    word-wrap: break-word !important; /* 強制換行 */
    word-break: break-word !important; /* 強制換行 */
    max-width: 100% !important; /* 確保不超出容器 */
    width: 100% !important; /* 佔滿寬度 */
}

.py-12.-mt-16.relative.z-20 h3 a {
    text-decoration: none !important; /* 移除鏈接下劃線 */
    color: inherit !important; /* 繼承顏色 */
    border: none !important; /* 移除邊框 */
    outline: none !important; /* 移除輪廓 */
}

.py-12.-mt-16.relative.z-20 h3 a:hover {
    text-decoration: none !important; /* 懸停時也無下劃線 */
    color: inherit !important;
}

.py-12.-mt-16.relative.z-20 .bg-dark-card p,
.py-12.-mt-16.relative.z-20 p,
.py-12.-mt-16.relative.z-20 .bg-dark-card a p,
.py-12.-mt-16.relative.z-20 a p {
    font-size: 1rem !important; /* 進一步增加描述字體 */
    margin-top: 0.375rem !important; /* 增加頂部間距 */
    white-space: normal !important; /* 允許換行 */
    overflow: visible !important; /* 允許內容顯示 */
    text-overflow: unset !important; /* 移除省略號 */
    opacity: 0.8 !important; /* 稍微透明 */
    text-decoration: none !important; /* 移除下劃線 */
    line-height: 1.4 !important; /* 設置行高 */
    word-wrap: break-word !important; /* 強制換行 */
    word-break: break-word !important; /* 強制換行 */
    max-width: 100% !important; /* 確保不超出容器 */
    width: 100% !important; /* 佔滿寬度 */
}

/* 重新設計圖標字體 */
.py-12.-mt-16.relative.z-20 .text-2xl {
    font-size: 1.5rem !important; /* 進一步增加圖標字體 */
}

/* 移動端響應式優化 */
@media (max-width: 768px) {
    .py-12.-mt-16.relative.z-20 {
        margin-top: -3rem !important; /* 調整負margin */
        padding-top: 2rem !important; /* 移動端進一步增加內邊距 */
        padding-bottom: 2rem !important;
    }
    
    .py-12.-mt-16.relative.z-20 .grid {
        gap: 1rem !important; /* 移動端進一步增加間距 */
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card {
        padding: 1rem 1.25rem !important; /* 移動端進一步增加內邊距 */
        max-width: none !important; /* 移除最大寬度限制 */
        min-height: 4.5rem !important; /* 進一步增加最小高度 */
        width: 100% !important; /* 確保全寬 */
        flex-direction: column !important; /* 垂直方向 */
        align-items: center !important; /* 水平居中 */
        text-align: center !important; /* 居中對齊 */
    }
    
    .py-12.-mt-16.relative.z-20 .w-14.h-14 {
        width: 2.5rem !important; /* 移動端進一步增加圖標 */
        height: 2.5rem !important;
        margin-right: 0 !important; /* 移除右邊距 */
        margin-bottom: 0.75rem !important; /* 增加底部間距 */
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card h3,
    .py-12.-mt-16.relative.z-20 h3 {
        font-size: 1rem !important; /* 移動端進一步增加標題 */
        text-decoration: none !important; /* 移除下劃線 */
        white-space: normal !important; /* 允許換行 */
        overflow: visible !important; /* 允許內容顯示 */
        text-overflow: unset !important; /* 移除省略號 */
        line-height: 1.3 !important; /* 設置行高 */
        word-wrap: break-word !important; /* 強制換行 */
        word-break: break-word !important; /* 強制換行 */
    }
    
    .py-12.-mt-16.relative.z-20 h3 a {
        text-decoration: none !important; /* 移除鏈接下劃線 */
        color: inherit !important;
        border: none !important; /* 移除邊框 */
        outline: none !important; /* 移除輪廓 */
    }
    
    .py-12.-mt-16.relative.z-20 h3 a:hover {
        text-decoration: none !important; /* 懸停時也無下劃線 */
        color: inherit !important;
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card p,
    .py-12.-mt-16.relative.z-20 p {
        font-size: 0.9rem !important; /* 移動端進一步增加描述 */
        text-decoration: none !important; /* 移除下劃線 */
        white-space: normal !important; /* 允許換行 */
        overflow: visible !important; /* 允許內容顯示 */
        text-overflow: unset !important; /* 移除省略號 */
        line-height: 1.4 !important; /* 設置行高 */
        word-wrap: break-word !important; /* 強制換行 */
        word-break: break-word !important; /* 強制換行 */
    }
    
    .py-12.-mt-16.relative.z-20 .text-2xl {
        font-size: 1.25rem !important; /* 移動端進一步增加圖標 */
    }
}

@media (max-width: 480px) {
    .py-12.-mt-16.relative.z-20 {
        margin-top: -2.5rem !important; /* 調整負margin */
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-12.-mt-16.relative.z-20 .grid {
        gap: 0.75rem !important; /* 小屏幕增加間距 */
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card {
        padding: 0.75rem 1rem !important; /* 小屏幕增加內邊距 */
        max-width: none !important; /* 移除最大寬度限制 */
        min-height: 4rem !important; /* 增加最小高度 */
        width: 100% !important; /* 確保全寬 */
        flex-direction: column !important; /* 垂直方向 */
        align-items: center !important; /* 水平居中 */
        text-align: center !important; /* 居中對齊 */
    }
    
    .py-12.-mt-16.relative.z-20 .w-14.h-14 {
        width: 2rem !important; /* 小屏幕增加圖標 */
        height: 2rem !important;
        margin-right: 0 !important; /* 移除右邊距 */
        margin-bottom: 0.5rem !important; /* 增加底部間距 */
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card h3,
    .py-12.-mt-16.relative.z-20 h3 {
        font-size: 0.9rem !important;
        text-decoration: none !important; /* 移除下劃線 */
        white-space: normal !important; /* 允許換行 */
        overflow: visible !important; /* 允許內容顯示 */
        text-overflow: unset !important; /* 移除省略號 */
        line-height: 1.3 !important; /* 設置行高 */
        word-wrap: break-word !important; /* 強制換行 */
        word-break: break-word !important; /* 強制換行 */
    }
    
    .py-12.-mt-16.relative.z-20 h3 a {
        text-decoration: none !important; /* 移除鏈接下劃線 */
        color: inherit !important;
        border: none !important; /* 移除邊框 */
        outline: none !important; /* 移除輪廓 */
    }
    
    .py-12.-mt-16.relative.z-20 h3 a:hover {
        text-decoration: none !important; /* 懸停時也無下劃線 */
        color: inherit !important;
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card p,
    .py-12.-mt-16.relative.z-20 p {
        font-size: 0.8rem !important;
        text-decoration: none !important; /* 移除下劃線 */
        white-space: normal !important; /* 允許換行 */
        overflow: visible !important; /* 允許內容顯示 */
        text-overflow: unset !important; /* 移除省略號 */
        line-height: 1.4 !important; /* 設置行高 */
        word-wrap: break-word !important; /* 強制換行 */
        word-break: break-word !important; /* 強制換行 */
    }
    
    .py-12.-mt-16.relative.z-20 .text-2xl {
        font-size: 1.125rem !important;
    }
}

@media (max-width: 360px) {
    .py-12.-mt-16.relative.z-20 {
        margin-top: -2rem !important; /* 調整負margin */
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .py-12.-mt-16.relative.z-20 .grid {
        gap: 0.5rem !important; /* 超小屏幕增加間距 */
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card {
        padding: 0.5rem 0.75rem !important; /* 超小屏幕增加內邊距 */
        max-width: none !important; /* 移除最大寬度限制 */
        min-height: 3.5rem !important; /* 增加最小高度 */
        width: 100% !important; /* 確保全寬 */
        flex-direction: column !important; /* 垂直方向 */
        align-items: center !important; /* 水平居中 */
        text-align: center !important; /* 居中對齊 */
    }
    
    .py-12.-mt-16.relative.z-20 .w-14.h-14 {
        width: 1.75rem !important; /* 超小屏幕增加圖標 */
        height: 1.75rem !important;
        margin-right: 0 !important; /* 移除右邊距 */
        margin-bottom: 0.375rem !important; /* 增加底部間距 */
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card h3,
    .py-12.-mt-16.relative.z-20 h3 {
        font-size: 0.8rem !important;
        text-decoration: none !important; /* 移除下劃線 */
        white-space: normal !important; /* 允許換行 */
        overflow: visible !important; /* 允許內容顯示 */
        text-overflow: unset !important; /* 移除省略號 */
        line-height: 1.3 !important; /* 設置行高 */
        word-wrap: break-word !important; /* 強制換行 */
        word-break: break-word !important; /* 強制換行 */
    }
    
    .py-12.-mt-16.relative.z-20 h3 a {
        text-decoration: none !important; /* 移除鏈接下劃線 */
        color: inherit !important;
        border: none !important; /* 移除邊框 */
        outline: none !important; /* 移除輪廓 */
    }
    
    .py-12.-mt-16.relative.z-20 h3 a:hover {
        text-decoration: none !important; /* 懸停時也無下劃線 */
        color: inherit !important;
    }
    
    .py-12.-mt-16.relative.z-20 .bg-dark-card p,
    .py-12.-mt-16.relative.z-20 p {
        font-size: 0.7rem !important;
        text-decoration: none !important; /* 移除下劃線 */
        white-space: normal !important; /* 允許換行 */
        overflow: visible !important; /* 允許內容顯示 */
        text-overflow: unset !important; /* 移除省略號 */
        line-height: 1.4 !important; /* 設置行高 */
        word-wrap: break-word !important; /* 強制換行 */
        word-break: break-word !important; /* 強制換行 */
    }
    
    .py-12.-mt-16.relative.z-20 .text-2xl {
        font-size: 1rem !important;
    }
}

/* 最高優先級強制文字換行 - 放在文件末尾確保優先級 */
section.py-12.-mt-16.relative.z-20 h3,
section.py-12.-mt-16.relative.z-20 p,
section.py-12.-mt-16.relative.z-20 a h3,
section.py-12.-mt-16.relative.z-20 a p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
}

/* 針對Tailwind類別的強制覆蓋 */
.text-center h3,
.text-center p,
.flex.flex-col.items-center.text-center h3,
.flex.flex-col.items-center.text-center p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    width: 100% !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* 強制移除所有下劃線 - 最高優先級 */
.py-12.-mt-16.relative.z-20 * {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

.py-12.-mt-16.relative.z-20 h3,
.py-12.-mt-16.relative.z-20 p,
.py-12.-mt-16.relative.z-20 a,
.py-12.-mt-16.relative.z-20 a:hover,
.py-12.-mt-16.relative.z-20 a:focus,
.py-12.-mt-16.relative.z-20 a:active {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 視頻推薦標題顏色修復 */
.space-y-4 h3,
.space-y-4 h3 a,
.bg-dark-card h3,
.bg-dark-card h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.space-y-4 h3 a:hover,
.bg-dark-card h3 a:hover {
    color: var(--primary) !important;
    text-decoration: none !important;
}

/* 深色主題適配 */
@media (prefers-color-scheme: dark) {
    .hero-gradient-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(26, 26, 26, 0.8) 25%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(26, 26, 26, 0.8) 75%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
}

/* ========== 優化英雄區域樣式 ========== */

/* 優化背景層 */
.hero-bg-optimized {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image-optimized {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-img-optimized {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

.hero-gradient-overlay-optimized {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(18, 18, 18, 0.85) 0%,
        rgba(26, 26, 26, 0.75) 50%,
        rgba(18, 18, 18, 0.85) 100%
    );
}

/* 優化內容層 */
.hero-content-optimized {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container-optimized {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

/* 主標題區域 */
.hero-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* 優化標籤 */
.hero-badge-optimized {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
    color: #3B82F6;
    font-weight: 500;
}

.hero-badge-optimized i {
    font-size: 1rem;
}

/* 優化主標題 */
.hero-title-optimized {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #E5E7EB 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 優化副標題 */
.hero-subtitle-optimized {
    font-size: 1.125rem;
    color: #D1D5DB;
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
    opacity: 0.9;
}

/* 優化行動按鈕 */
.hero-actions-optimized {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn-primary-optimized {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.hero-btn-primary-optimized:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #FFFFFF;
    text-decoration: none;
}

.hero-btn-secondary-optimized {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-btn-secondary-optimized:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
}

/* 優化統計數據 */
.hero-stats-optimized {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.stat-item-optimized {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number-optimized {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3B82F6;
    line-height: 1;
}

.stat-label-optimized {
    font-size: 0.875rem;
    color: #9CA3AF;
    font-weight: 500;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero-section-optimized {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }
    
    .hero-container-optimized {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .hero-title-optimized {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-subtitle-optimized {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-actions-optimized {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-btn-primary-optimized,
    .hero-btn-secondary-optimized {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-stats-optimized {
        gap: 1.5rem;
    }
    
    .stat-number-optimized {
        font-size: 1.25rem;
    }
    
    .stat-label-optimized {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section-optimized {
        height: 45vh;
        min-height: 300px;
        max-height: 350px;
    }
    
    .hero-container-optimized {
        padding: 0 0.75rem;
        gap: 1rem;
    }
    
    .hero-title-optimized {
        font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    }
    
    .hero-subtitle-optimized {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .hero-badge-optimized {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-stats-optimized {
        gap: 1rem;
    }
    
    .stat-number-optimized {
        font-size: 1.125rem;
    }
    
    .stat-label-optimized {
        font-size: 0.75rem;
    }
}