/* ============================================
   美化步驟樣式 - 論文投稿系統
   ============================================ */

/* 步驟指示器 */
.steps-indicator {
    margin: 2rem 0 3rem 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border: 3px solid #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
    border: 3px solid #0056b3;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,123,255,0.3);
}

.step-item.active .step-number {
    color: #0056b3;
    font-weight: bold;
}

.step-number {
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step-item.active .step-label {
    color: #007bff;
    font-weight: 600;
}

.step-connector {
    flex: 1;
    height: 3px;
    background: #e9ecef;
    margin: 0 1rem;
    position: relative;
    top: -30px;
    max-width: 150px;
    border-radius: 2px;
}

/* 步驟卡片 */
.step-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-header {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0056b3;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #007bff;
}

.step-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: rgba(0,123,255,0.1);
    transform: skewX(-20deg);
    transform-origin: top right;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0,123,255,0.1);
    color: #0056b3;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,123,255,0.2);
}

.step-badge svg {
    margin-right: 0.5rem;
    width: 1.1rem;
    height: 1.1rem;
}

.step-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #0056b3;
}

.step-content {
    padding: 2rem;
}

/* 下載區塊美化 */
.download-section {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 2rem;
    border: 2px dashed #007bff;
    transition: all 0.3s ease;
}

.download-section:hover {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-color: #0056b3;
    transform: scale(1.02);
}

.download-icon-wrapper {
    margin-right: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
    border: 3px solid #007bff;
}

.download-icon {
    color: #007bff;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.download-content {
    flex: 1;
}

.download-title {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.download-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 自定義下載按鈕 */
.btn-download {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    border: none;
    font-size: 1rem;
}

.btn-download:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
    text-decoration: none;
}

.download-note {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(0,123,255,0.1);
    border-radius: 8px;
    border-left: 3px solid #007bff;
}

/* 提交按鈕美化 */
.form-submit-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed #e9ecef;
}

.btn-submit {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit::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;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.4);
}

/* 表單美化 */
.step-card .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.step-card .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    transform: scale(1.02);
}

.step-card .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.step-card .required-asterisk {
    color: #dc3545;
    font-weight: bold;
}

/* 檔案上傳區域美化 */
.step-card input[type="file"] {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #007bff;
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.step-card input[type="file"]:hover {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-color: #0056b3;
}

/* 驗證碼區域美化 */
#captcha-image-container {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

#captcha-image-frontend {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#captcha-image-frontend:hover {
    transform: scale(1.05);
}

/* 表單驗證狀態美化 */
.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2328a745' viewBox='0 0 16 16'><path d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    animation: validPulse 0.3s ease-in;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23dc3545' viewBox='0 0 16 16'><path d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    animation: invalidShake 0.5s ease-in-out;
}

/* 檔案輸入的驗證狀態 */
input[type="file"].is-valid {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
}

input[type="file"].is-invalid {
    border-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
}

/* 驗證回饋訊息樣式 */
.valid-feedback {
    display: none;
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: fadeInUp 0.3s ease-out;
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: fadeInUp 0.3s ease-out;
}

/* 只有在對應的驗證狀態下才顯示回饋訊息 */
.form-control.is-valid ~ .valid-feedback {
    display: block !important;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block !important;
}

/* 表單提交後的全域驗證狀態 */
.was-validated .form-control:valid ~ .valid-feedback {
    display: block !important;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block !important;
}

/* 檔案顯示樣式 */
.file-display {
    animation: slideInDown 0.3s ease-out;
    border: 1px solid #28a745;
}

.file-display.error {
    border-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card {
    animation: fadeInUp 0.6s ease-out;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes validPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 0.5rem rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

@keyframes invalidShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 提交按鈕狀態 */
.btn-submit.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(40,167,69,0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    }
}

/* 必填欄位標記 */
.required-asterisk {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* 表單組標籤樣式 */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

/* 特殊輸入類型的驗證樣式 */
input[type="email"].is-valid {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2328a745' viewBox='0 0 16 16'><path d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414zM0 4.697v7.104l5.803-3.558zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586zm3.436-.586L16 11.801V4.697z'/></svg>, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2328a745' viewBox='0 0 16 16'><path d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z'/></svg>");
    background-position: left 0.75rem center, right 0.75rem center;
}

input[type="tel"].is-valid {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2328a745' viewBox='0 0 16 16'><path d='M1 3a1 1 0 0 1 1-1h2.5a1 1 0 0 1 1 1v1.5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5V3zm3 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm2 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm2 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5z'/></svg>, <svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2328a745' viewBox='0 0 16 16'><path d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z'/></svg>");
    background-position: left 0.75rem center, right 0.75rem center;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .steps-indicator {
        margin: 1rem 0 2rem 0;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
    }
    
    .step-number {
        font-size: 1rem;
    }
    
    .step-connector {
        max-width: 80px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    /* 下載區塊手機版調整 */
    .download-section {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .download-icon-wrapper {
        margin-right: 0;
        margin-bottom: 1rem;
        order: -1; /* 將圖示移到最上方 */
    }
    
    .download-content {
        order: 1; /* 內容在圖示下方 */
    }
    
    .download-title {
        margin-top: 0.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .form-control.is-valid,
    .form-control.is-invalid {
        background-size: 1rem;
        background-position: right 0.5rem center;
    }
    
    .valid-feedback,
    .invalid-feedback {
        font-size: 0.8rem;
    }
}

/* =================================
   雜誌風格 - 主辦/協辦/贊助單位區塊
   ================================= */

/* 雜誌風格三欄水平排列 - 滿版設計 */
#block6 {
    position: relative;
    padding: 0;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
}

/* 雜誌紙張質感背景 */
#block6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.96) 5%, rgba(255,255,255,0.96) 95%, transparent 100%);
    z-index: 1;
}

.magazine-layout {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
    margin: 0;
    max-width: none;
    width: 100%;
    box-shadow: 
        0 0 40px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    overflow: hidden;
}

/* 雜誌標頭 */
.magazine-masthead {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    /* padding: 50px 40px; */
    padding: 5px 40px;
    text-align: center;
    position: relative;
}

.magazine-masthead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c 0%, #f39c12 33%, #27ae60 66%, #3498db 100%);
}

.masthead-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.masthead-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    margin-top: 8px;
    opacity: 0.9;
    letter-spacing: 3px;
}

/* 三欄雜誌佈局 */
.magazine-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: white;
}

.magazine-column {
    padding: 60px 40px;
    position: relative;
    border-right: 1px solid #e9ecef;
    min-height: 450px;
}

.magazine-column:last-child {
    border-right: none;
}

/* 欄位標題區 */
.column-header {
    margin-bottom: 25px;
    position: relative;
}

.column-category {
    display: inline-block;
    background: var(--column-color);
    color: white;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}

.column-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    border-bottom: 2px solid var(--column-color);
    padding-bottom: 8px;
}

/* 色彩主題 */
.magazine-column.host {
    --column-color: #2c3e50;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.magazine-column.co-host {
    --column-color: #27ae60;
    background: linear-gradient(180deg, #ffffff 0%, #f0f8f0 100%);
}

.magazine-column.sponsor {
    --column-color: #e67e22;
    background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%);
}

/* 內容區域 */
.column-content {
    margin-top: 25px;
}

.organization-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.organization-item {
    background: white;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--column-color);
    border-radius: 4px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.organization-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--column-color);
}

.organization-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

/* 雜誌引用框 */
.magazine-quote {
    margin-top: 20px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--column-color);
    border-radius: 0 4px 4px 0;
    position: relative;
}

.magazine-quote::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--column-color);
    position: absolute;
    top: -5px;
    left: 8px;
    opacity: 0.3;
}

.quote-text {
    font-size: 0.9rem;
    color: #5a6c7d;
    margin: 0;
    font-style: italic;
    line-height: 1.5;
    padding-left: 20px;
}

/* 欄位裝飾 - 移除數字 */
.column-decoration {
    display: none;
}

/* 特殊標記 - 協辦雜誌 */
.magazine-column.co-host::before {
    /* content: 'MAGAZINE PARTNER'; */
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
    color: #27ae60;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
    transform: rotate(10deg);
}

/* 響應式設計 */
@media (max-width: 991.98px) {
    .magazine-columns {
        grid-template-columns: 1fr;
    }
    
    .magazine-column {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 40px 30px;
    }
    
    .magazine-column:last-child {
        border-bottom: none;
    }
    
    .masthead-title {
        font-size: 2rem;
    }
    
    .magazine-masthead {
        padding: 40px 30px;
    }
}

@media (max-width: 575.98px) {
    #block6 {
        padding: 0;
    }
    
    .magazine-layout {
        margin: 0;
    }
    
    .magazine-masthead {
        padding: 30px 20px;
    }
    
    .masthead-title {
        font-size: 1.7rem;
    }
    
    .magazine-column {
        padding: 30px 20px;
    }
    
    .column-title {
        font-size: 1.4rem;
    }
    
    .organization-item {
        padding: 15px 18px;
    }
}

/* 進場動畫 */
.magazine-column {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.magazine-column:nth-child(1) { animation-delay: 0.1s; }
.magazine-column:nth-child(2) { animation-delay: 0.3s; }
.magazine-column:nth-child(3) { animation-delay: 0.5s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 雜誌網格背景 */
.magazine-layout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.magazine-masthead,
.magazine-columns {
    position: relative;
    z-index: 2;
}

/* 現代化區段標題樣式 */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.modern-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    margin-bottom: 15px;
    position: relative;
    letter-spacing: 1.5px;
}

.title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    animation: titleIconPulse 2s ease-in-out infinite;
}

.title-text {
    position: relative;
}

.title-accent {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 2px;
    animation: titleAccentGrow 1.5s ease-out;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #5a6c7d;
    font-weight: 400;
    margin: 0;
    opacity: 0;
    animation: subtitleFadeIn 1s ease-out 0.5s forwards;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.3);
}

/* 動畫效果 */
@keyframes titleIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    }
}

@keyframes titleAccentGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 60px;
        opacity: 1;
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 響應式設計 */
@media (max-width: 768px) {
    .modern-section-title {
        font-size: 2.5rem;
        gap: 15px;
        flex-direction: column;
    }
    
    .title-icon {
        width: 45px;
        height: 45px;
    }
    
    .title-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .modern-section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-title-wrapper {
        margin-bottom: 40px;
    }
}
