/**
 * WOMM Service Landing Page Styles
 * 口碑行銷服務專頁樣式
 * @package echo-tw
 */

/* === WOMM Service Hero Section === */
.womm-service-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* YouTube Background Video */
.womm-service-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.womm-service-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
}

/* Brand Red Overlay */
.womm-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #821415;
    opacity: 0.85;
    z-index: 2;
}
/* Container */
.womm-service-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Content */
.womm-service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 70vh;
}

/* Left Column Styles */
.womm-service-left-col {
    color: white;
}

/* Free Badge */
.womm-free-badge {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* Main Title */
.womm-service-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Subtitle */
.womm-service-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #f0f0f0;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.womm-price {
    color: #FFD700;
    font-weight: 700;
    font-size: 2rem;
}

/* Description */
.womm-service-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.womm-service-description strong {
    color: #FFD700;
    font-weight: 600;
}

/* Contact Info */
.womm-contact-info {
    margin-top: 20px;
}

.womm-contact-note {
    font-size: 1.1rem;
    color: #FFD700;
    font-weight: 600;
    margin: 0;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}
/* Right Column Styles */
.womm-service-right-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form Container */
.womm-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.womm-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0 0 25px 0;
    border-bottom: 2px solid #821415;
    padding-bottom: 15px;
}

.womm-form-content {
    color: #666;
}

.womm-form-placeholder {
    text-align: center;
    padding: 30px 0;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

.womm-form-placeholder p {
    margin: 10px 0;
    font-size: 1rem;
}

.womm-form-note {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}
/* === Scroll Down Indicator === */
.womm-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    text-align: center;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.womm-scroll-text {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px; /* 減少與箭頭間距 */
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.womm-scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* 大幅減少箭頭間距 */
}

.womm-scroll-arrow {
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-left: transparent;
    border-top: transparent;
    transform: rotate(45deg);
    animation: arrow-fade 2s ease-in-out infinite;
}

.womm-scroll-arrow:nth-child(1) { animation-delay: 0s; }
.womm-scroll-arrow:nth-child(2) { animation-delay: 0.3s; }
.womm-scroll-arrow:nth-child(3) { animation-delay: 0.6s; }

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes arrow-fade {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}
/* === Pain Points Section === */
.womm-pain-points-section {
    background-color: #E9E4DE;
    position: relative;
}

/* 桌面版：滾動劫持容器 */
@media (min-width: 769px) {
    .womm-pain-points-section {
        height: 400vh;
    }
    
    .womm-container {
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
}

/* 手機版：正常顯示 */
@media (max-width: 768px) {
    .womm-pain-points-section {
        padding: 60px 0;
    }
    
    .womm-container {
        position: relative;
        height: auto;
    }
}

.womm-pain-title-container {
    text-align: center;
    margin-bottom: 80px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* 桌面版標題固定位置 */
@media (min-width: 769px) {
    .womm-pain-title-container {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        margin-bottom: 0;
        z-index: 10;
    }
}

.womm-pain-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    position: relative;
}

.womm-pain-main-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #821415;
    margin: 20px auto 0;
    border-radius: 2px;
}
/* Pain Points Cards Container */
.womm-pain-cards-container {
    position: relative;
}

/* 桌面版：跑馬燈水平滾動 */
@media (min-width: 769px) {
    .womm-pain-cards-container {
        position: absolute;
        top: 60%;
        left: 0;
        width: 100%;
        height: 400px;
        display: flex;
        align-items: center;
        justify-content: center; /* 中央對齊 */
        transform: translateY(-50%);
        overflow: hidden;
    }
    
    .womm-cards-track {
        display: flex;
        gap: 100px; /* 增加卡片間距 */
        transition: transform 0.1s ease-out;
        will-change: transform;
        /* 初始位置讓第一張卡片在中央 */
        transform: translateX(0);
    }
    
    .womm-pain-card {
        flex-shrink: 0;
        width: 700px;
        max-width: 90vw;
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .womm-pain-card.visible {
        opacity: 1;
        transform: scale(1);
    }
}

/* 手機版：正常垂直排列 */
@media (max-width: 768px) {
    .womm-pain-cards-container {
        display: flex;
        flex-direction: column;
        gap: 40px; /* 增加卡片間距 */
        max-width: 100%;
        margin: 0 20px;
    }
    
    .womm-pain-card {
        opacity: 0;
        transform: translateY(30px);
        position: relative;
        transition: all 0.6s ease;
    }
    
    .womm-pain-card.animate-in {
        opacity: 1;
        transform: translateY(0);
    }
    
    .womm-pain-card-inner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }
    
    /* 手機版圖標居中 */
    .womm-pain-icon {
        align-self: center; /* 確保圖標在卡片中居中 */
        margin: 0 auto 15px auto; /* 額外的居中保證 */
    }
    
    .womm-pain-card-inner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
        margin-bottom: 20px; /* 每張卡片底部間距 */
    }
}
/* Individual Pain Card */
.womm-pain-card-inner {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(130, 20, 21, 0.1);
}

.womm-pain-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Pain Card Icon */
.womm-pain-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #821415, #a01819);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.womm-icon-placeholder {
    font-size: 2.5rem;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Pain Card Content */
.womm-pain-content {
    flex: 1;
}

.womm-pain-question {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.womm-pain-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* === Responsive Design === */

/* Tablet */
@media (max-width: 968px) {
    .womm-service-title {
        font-size: 2.8rem;
    }
    
    .womm-service-subtitle {
        font-size: 1.6rem;
    }
    
    .womm-price {
        font-size: 1.8rem;
    }
    
    .womm-form-container {
        padding: 30px;
    }
    
    .womm-pain-main-title {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .womm-service-hero {
        min-height: 100vh; /* 最小高度100vh，允許內容超出 */
        height: auto; /* 自動高度，不強制裁切 */
        padding-top: 80px; /* 恢復頂部間距避免header遮擋 */
        padding-bottom: 40px; /* 底部間距 */
        display: flex;
        align-items: flex-start; /* 從頂部開始排列，不強制居中 */
        justify-content: center;
    }
    
    .womm-service-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        min-height: auto;
        width: 100%;
        padding: 0 20px; /* 只保留左右padding */
        margin: 0 auto; /* 確保居中 */
        max-width: 100%; /* 防止超出容器 */
        box-sizing: border-box; /* 包含padding在寬度計算內 */
    }
    
    .womm-service-title {
        font-size: 2.2rem;
        margin-top: 0; /* 確保標題從正確位置開始 */
    }
    
    .womm-service-subtitle {
        font-size: 1.4rem;
    }
    
    .womm-price {
        font-size: 1.6rem;
    }
    
    .womm-service-description {
        font-size: 1rem;
    }
    
    .womm-form-container {
        padding: 25px;
        margin: 0 10px;
    }
    
    .womm-form-title {
        font-size: 1.5rem;
    }
    
    .womm-pain-main-title {
        font-size: 2rem;
    }
    
    .womm-pain-card-inner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }
}
/* === WOMM Solution Section === */
.womm-solution-section {
    background-color: #ffffff;
    padding: 0; /* 移除padding */
    position: relative;
    min-height: 100vh;
    display: block; /* 改為block解決偏左問題 */
}

.womm-solution-content {
    text-align: center;
    width: 100%;
    padding: 60px 0; /* 將padding移到content內 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.womm-solution-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px 0; /* 進一步減少底部margin */
    position: relative;
}

.womm-solution-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #821415;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Solution Grid - 修正為四個一排 */
.womm-solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 固定四列 */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 背景裝飾文字 */
.womm-solution-grid::before {
    content: 'WOMM';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18rem; /* 增加字體大小 */
    font-weight: 900;
    color: #82141517; /* 更淡的背景色 */
    z-index: 0;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    width: 80%;
    text-align: center;
}

.womm-solution-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    position: relative;
    z-index: 1; /* 確保卡片在裝飾文字上方 */
}

.womm-solution-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Chart Container */
.womm-chart-container {
    margin-bottom: 30px;
    position: relative;
}

.womm-chart {
    filter: drop-shadow(0 4px 10px rgba(130, 20, 21, 0.1));
}

.womm-chart-number {
    font-size: 1.8rem;
    font-weight: 700;
    fill: #821415;
}

.womm-progress-circle {
    transition: stroke-dashoffset 2s ease-in-out;
    stroke-dashoffset: 282.74; /* Initial state - no progress */
}

.womm-solution-stat-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.womm-solution-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .womm-solution-content {
        padding: 40px 0; /* 調整content padding */
        min-height: 90vh;
    }
    
    .womm-solution-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .womm-solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .womm-solution-grid::before {
        font-size: 12rem;
    }
}

@media (max-width: 768px) {
    .womm-solution-content {
        padding: 30px 0; /* 手機版padding */
        min-height: 80vh;
    }
    
    .womm-solution-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .womm-solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin: 0 20px;
    }
    
    .womm-solution-grid::before {
        font-size: 5rem; /* 改為5rem，解決偏右問題 */
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }
    
    .womm-chart {
        width: 120px;
        height: 120px;
    }
    
    .womm-chart-number {
        font-size: 1.5rem;
    }
    
    .womm-solution-stat-title {
        font-size: 1.3rem;
    }
}

/* === AI Search Impact Section === */
.womm-ai-search-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center; /* 確保垂直居中 */
    justify-content: center; /* 確保水平居中 */
    color: white;
    background-image: url('/wp-content/uploads/2025/09/ai-search-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 正確的視差效果 */
}

/* Red Overlay */
.womm-ai-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #821415;
    opacity: 0.85;
    z-index: 0; /* 改為0，讓文字在上方 */
}

/* Content */
.womm-ai-content {
    position: relative;
    z-index: 2;
    text-align: center; /* 確保所有內容都置中 */
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.womm-ai-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 50px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.womm-ai-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #FFD700;
    margin: 25px auto 0;
    border-radius: 2px;
}

/* Text Content */
.womm-ai-text {
    max-width: 800px;
    margin: 0 auto;
}

.womm-ai-description {
    font-size: 1.3rem;
    color: #f0f0f0;
    line-height: 1.8;
    margin: 0;
    text-align: center; /* 改為置中 */
}

.womm-ai-description br {
    display: block;
    margin-bottom: 1em;
}

.womm-ai-description strong {
    color: #FFD700;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 968px) {
    .womm-ai-title {
        font-size: 2.8rem;
        margin-bottom: 40px;
    }
    
    .womm-ai-description {
        font-size: 1.2rem;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .womm-ai-search-section {
        background-attachment: scroll; /* 手機版取消fixed */
        min-height: 80vh;
    }
    
    .womm-ai-content {
        padding: 60px 15px;
    }
    
    .womm-ai-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .womm-ai-description {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: center; /* 手機版也保持置中 */
    }
}

/* AI Search Section Container Fix */
.womm-ai-search-section .womm-container {
    display: flex; /* 改為flex以支援完整的居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    min-height: 100vh; /* 確保全高度 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WPForms 樣式優化 */
.womm-form-container .wpforms-field {
    padding: 5px 0px !important;
}

.womm-form-container .wpforms-submit {
    width: 100% !important;
}

/* 手機版 Scroll Down 位置調整 */
@media (max-width: 768px) {
    .womm-scroll-indicator {
        display: none; /* 手機版完全隱藏 Scroll Down */
    }
    
    /* 手機版Hero內容調整 */
    .womm-service-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        flex-direction: column;
    }
}

/* 手機版表單容器間距 */
@media (max-width: 768px) {
    .womm-form-container {
        margin-bottom: 40px; /* 增加底部間距 */
        max-height: none; /* 移除高度限制 */
    }
    
    /* 確保表單內容完整顯示 */
    .womm-form-content {
        padding-bottom: 20px;
    }
}

/* 手機版限額免費標籤確保顯示 */
@media (max-width: 768px) {
    .womm-badge {
        position: relative; /* 改為相對定位，避免被裁切 */
        display: inline-block;
        margin-bottom: 20px; /* 與下方內容的間距 */
        z-index: 10;
    }
    
    /* 確保標題在正確位置 */
    .womm-text-content {
        position: relative;
        z-index: 5;
    }
}

/* 手機版背景圖片替代影片 */
@media (max-width: 768px) {
    .womm-service-hero {
        min-height: 100vh; /* 最小高度100vh，允許內容超出 */
        height: auto; /* 自動高度，不強制裁切 */
        padding-top: 80px; /* 恢復頂部間距避免header遮擋 */
        padding-bottom: 40px; /* 底部間距 */
        display: flex;
        align-items: flex-start; /* 從頂部開始排列，不強制居中 */
        justify-content: center;
        /* 手機版背景圖片 */
        background-image: url('/wp-content/uploads/2025/09/womm-herobanner-m.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        position: relative;
        overflow: hidden;
    }
    
    /* 確保overlay覆蓋完整 */
    .womm-bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
}

/* 手機版Hero內容層級確保 */
@media (max-width: 768px) {
    .womm-service-hero-content {
        position: relative;
        z-index: 2; /* 確保內容在背景圖片和overlay之上 */
    }
}

/* 響應式顯示控制 */
.womm-desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .womm-desktop-only {
        display: none !important; /* 手機版強制隱藏 */
    }
}

/* 桌面版影片背景 */
@media (min-width: 769px) {
    .womm-service-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
    }
}


/* ==========================================================================
   WOMM PROCESS SECTION - 口碑操作流程
   ========================================================================== */

.womm-process-section {
    padding: 80px 0;
    background: #E9E4DE;
    position: relative;
    overflow: hidden;
}

.womm-process-section .womm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* Section Header */
.womm-process-header {
    text-align: center;
    margin-bottom: 60px;
}

.womm-process-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.womm-process-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Process Steps Container */
.womm-process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Individual Step */
.womm-process-step {
    flex: 1;
    position: relative;
    text-align: center;
    padding: 0 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.womm-process-step[data-step="1"] { animation-delay: 0.1s; }
.womm-process-step[data-step="2"] { animation-delay: 0.2s; }
.womm-process-step[data-step="3"] { animation-delay: 0.3s; }
.womm-process-step[data-step="4"] { animation-delay: 0.4s; }
.womm-process-step[data-step="5"] { animation-delay: 0.5s; }

/* Step Number Circle */
.womm-step-number {
    width: 60px;
    height: 60px;
    background: #821415;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(130, 20, 21, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.womm-step-number span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Step Content */
.womm-step-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.womm-step-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.womm-step-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Brand Red Underline Highlight */
.womm-highlight {
    text-decoration: underline;
    text-decoration-color: #821415;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 500;
}

/* Connector Line */
.womm-step-connector {
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #821415 0%, #821415 50%, transparent 50%);
    background-size: 20px 2px;
    z-index: 1;
    animation: dash 20s linear infinite;
}

.womm-process-step:last-child .womm-step-connector {
    display: none;
}

/* Hover Effects */
.womm-process-step:hover .womm-step-number {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(130, 20, 21, 0.4);
}

.womm-process-step:hover .womm-step-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dash {
    to {
        background-position: 100% 0;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .womm-process-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .womm-process-step {
        flex: 0 0 45%;
        margin-bottom: 40px;
    }
    
    .womm-step-connector {
        display: none;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .womm-process-section {
        padding: 60px 0;
    }
    
    .womm-process-title {
        font-size: 2rem;
    }
    
    .womm-process-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .womm-process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .womm-process-step {
        flex: 0 0 100%;
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
        padding: 0;
    }
    
    /* Vertical Connector for Mobile */
    .womm-process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, #821415 0%, #821415 50%, transparent 50%);
        background-size: 2px 10px;
        animation: dashVertical 10s linear infinite;
    }
    
    .womm-step-number {
        width: 50px;
        height: 50px;
    }
    
    .womm-step-number span {
        font-size: 1.3rem;
    }
    
    .womm-step-title {
        font-size: 1.1rem;
    }
    
    .womm-step-description {
        font-size: 0.9rem;
    }
    
    .womm-step-content {
        padding: 20px;
    }
}

@keyframes dashVertical {
    to {
        background-position: 0 100%;
    }
}

/* Intersection Observer Animation Class */
.womm-process-animate .womm-process-step {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================================================
   WOMM BENEFITS SECTION - 免費健檢獲得內容
   ========================================================================== */

.womm-benefits-section {
    background: #ffffff;
    padding: 80px 0; /* 增加上方間距避免標題裁切 */
    position: relative;
}

.womm-benefits-section .womm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* Section Header */
.womm-benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.womm-benefits-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.womm-benefits-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #821415;
    margin: 20px auto 0;
    border-radius: 2px;
}

.womm-benefits-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Benefits Cards Container */
.womm-benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Individual Benefit Card */
.womm-benefit-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid #e0e0e0; /* 細黑線框 */
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.womm-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #821415, #a01819);
    transition: height 0.3s ease;
}

.womm-benefit-card:hover {
    transform: translateY(-10px);
    border-color: #ccc; /* hover時稍微深一點的邊框 */
}

.womm-benefit-card:hover::before {
    height: 6px;
}

/* Benefit Icon with Lottie */
.womm-benefit-icon {
    text-align: center;
    margin-bottom: 25px;
}

.womm-lottie-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Benefit Content */
.womm-benefit-content {
    text-align: center;
}

.womm-benefit-title {
    font-size: 20px; /* 改為20px */
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.womm-benefit-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0; /* 移除bottom margin，因為沒有feature-tags了 */
    text-align: left;
}

.womm-benefit-description strong {
    color: #821415;
    font-weight: 600;
}

/* Animation for Cards */
.womm-benefit-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Responsive Design */
@media (max-width: 968px) {
    .womm-benefits-section {
        padding: 60px 0; /* 調整響應式間距 */
    }
    
    .womm-benefits-title {
        font-size: 2.3rem;
    }
    
    .womm-benefits-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .womm-benefits-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .womm-benefit-card {
        padding: 35px 25px;
    }
    
    .womm-benefit-title {
        font-size: 18px; /* 平板版稍小 */
    }
    
    .womm-lottie-container {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .womm-benefits-section {
        padding: 50px 0; /* 手機版間距 */
    }
    
    .womm-benefits-title {
        font-size: 2rem;
    }
    
    .womm-benefits-header {
        margin-bottom: 40px;
    }
    
    .womm-benefits-cards {
        gap: 25px;
    }
    
    .womm-benefit-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .womm-benefit-title {
        font-size: 16px; /* 手機版更小 */
    }
    
    .womm-benefit-description {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .womm-lottie-container {
        width: 140px;
        height: 140px;
    }
}

/* ==========================================================================
   WOMM FINAL CTA SECTION - 最後行動呼籲
   ========================================================================== */

.womm-final-cta-section {
    background-image: url('/wp-content/uploads/2025/09/fill-form-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 40px 0; /* 大幅減少上下間距 */
    position: relative;
    text-align: center;
}

/* 品牌紅色 Overlay */
.womm-final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #821415;
    opacity: 0.85;
    z-index: 0; /* 修正為0，在container下方 */
}

.womm-final-cta-content {
    width: 65vw; /* 改為width而非max-width */
    max-width: none; /* 移除max-width限制 */
    margin: 0 auto;
    padding: 40px 30px; /* 減少內容padding */
    background: rgba(255, 255, 255, 0.95); /* 改為半透明白色背景 */
    border-radius: 25px;
    border: 1px solid rgba(130, 20, 21, 0.2);
    position: relative;
    z-index: 1; /* 調整為1，在overlay之上 */
    overflow: hidden;
    backdrop-filter: blur(10px); /* 添加模糊效果 */
    box-sizing: border-box; /* 確保padding計算在寬度內 */
}

.womm-final-cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #821415, #a01819);
}

.womm-final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    position: relative;
}

.womm-final-cta-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #821415;
    margin: 20px auto 0;
    border-radius: 2px;
}

.womm-final-cta-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons Container */
.womm-final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* 確保寬度100% */
    box-sizing: border-box; /* padding計算在寬度內 */
}

/* Base Button Styles */
.womm-cta-btn {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Primary Button - 品牌紅底白字 */
.womm-cta-primary {
    background: linear-gradient(45deg, #821415, #a01819);
    color: white;
    box-shadow: 0 4px 15px rgba(130, 20, 21, 0.3);
}

.womm-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(130, 20, 21, 0.4);
    color: white;
    text-decoration: none;
}

.womm-cta-primary:active {
    transform: translateY(-1px);
}

/* LINE Button - 綠底白字 */
.womm-cta-line {
    background: linear-gradient(45deg, #1CBB17, #0ea50a);
    color: white;
    box-shadow: 0 4px 15px rgba(28, 187, 23, 0.3);
}

.womm-cta-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(28, 187, 23, 0.4);
    color: white;
    text-decoration: none;
}

.womm-cta-line:active {
    transform: translateY(-1px);
}

/* Button Icons (可選) */
.womm-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.womm-cta-btn:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 968px) {
    .womm-final-cta-section {
        padding: 30px 0; /* 進一步減少間距 */
        background-attachment: scroll; /* 平板版取消fixed */
    }
    
    .womm-final-cta-content {
        width: 75vw; /* 平板版稍微寬一點 */
        margin: 0 auto;
        padding: 35px 25px; /* 減少內容padding */
    }
    
    .womm-final-cta-buttons {
        gap: 15px;
        padding: 0 10px; /* 確保按鈕不超出容器 */
    }
    
    .womm-cta-btn {
        padding: 16px 30px;
        font-size: 1rem;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .womm-final-cta-section {
        padding: 25px 0; /* 手機版最小間距 */
        background-attachment: scroll; /* 手機版取消fixed */
    }
    
    .womm-final-cta-content {
        width: calc(100vw - 40px); /* 改為100vw減去左右間距 */
        max-width: 90vw; /* 設定最大寬度避免太寬 */
        margin: 0 auto; /* 確保置中 */
        padding: 30px 20px; /* 更緊湊的內容padding */
        box-sizing: border-box; /* 確保padding計算在內 */
    }
    
    .womm-final-cta-title {
        font-size: 2rem; /* 改為2rem */
        margin-bottom: 15px; /* 減少標題下方間距 */
    }
    
    .womm-final-cta-description {
        font-size: 1rem;
        margin-bottom: 25px; /* 減少描述下方間距 */
    }
    
    .womm-final-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0; /* 移除額外padding，因為已經有容器間距 */
        width: 100%; /* 確保按鈕容器100%寬度 */
    }
    
    .womm-cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
    }
}
