/* AequiLex 品牌增強與 SEO 優化樣式 */

/* ========== 全站背景優化 ========== */
body {
    background: linear-gradient(to bottom, #f5f3ee, #ebe8e1) !important;
    font-family: 'Noto Sans TC', 'Lora', 'Microsoft JhengHei', 'Georgia', serif !important;
    color: #1e293b !important;
}

/* ========== Logo & Header 增強區域 ========== */
.brand-header {
    text-align: center;
    padding: 30px 20px 20px 20px;
    background: linear-gradient(135deg, #013220 0%, #1A4D2E 50%, #2D5F3F 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(1, 50, 32, 0.2);
    position: relative;
    overflow: hidden;
}

.brand-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L90 90 L10 90 Z" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.brand-header-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    height: 80px;
    width: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.brand-title {
    margin: 0;
    font-size: 2.8em;
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-subtitle {
    margin: 8px 0 0 0;
    font-size: 1.3em;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 1px;
}

/* 移動端優化 */
@media only screen and (max-width: 768px) {
    .brand-header {
        padding: 20px 16px 16px 16px;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    .brand-title {
        font-size: 2em;
        letter-spacing: 1px;
    }
    
    .brand-subtitle {
        font-size: 1em;
    }
}

/* ========== 輸入框增強 ========== */
.input-box {
    border: 2px solid var(--accent, #2D5F3F) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(1, 50, 32, 0.1) !important;
    transition: all 0.3s ease !important;
}

.input-box:hover {
    box-shadow: 0 6px 20px rgba(1, 50, 32, 0.15) !important;
    border-color: var(--primary, #013220) !important;
}

.input-box:focus-within {
    box-shadow: 0 8px 24px rgba(1, 50, 32, 0.2) !important;
    border-color: var(--primary, #013220) !important;
}

/* ========== 訂閱方案卡片增強 ========== */
.plan-card,
.pricing-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 16px !important;
}

.plan-card:hover,
.pricing-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 32px rgba(1, 50, 32, 0.2) !important;
}

/* ========== Footer 樣式 ========== */
.site-footer {
    text-align: center;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    margin-top: 60px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-title {
    font-size: 1.5em;
    margin: 0 0 8px 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.95em;
    color: #94a3b8;
    margin: 0 0 24px 0;
}

.footer-links {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links li {
    display: inline;
}

.footer-link {
    color: #93c5fd;
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-link:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.footer-separator {
    color: #475569;
    margin: 0 8px;
}

.footer-copyright {
    margin: 20px 0 0 0;
    font-size: 0.9em;
    color: #cbd5e1;
}

.footer-disclaimer {
    font-size: 0.8em;
    color: #94a3b8;
    margin: 16px auto 0 auto;
    max-width: 800px;
    line-height: 1.6;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

/* 移動端 Footer 優化 */
@media only screen and (max-width: 768px) {
    .site-footer {
        padding: 30px 16px 20px 16px;
        margin-top: 40px;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-title {
        font-size: 1.3em;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-link {
        display: block;
        margin: 0;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-disclaimer {
        font-size: 0.75em;
        padding: 12px;
    }
}

/* ========== 專業法律風格增強 ========== */
.legal-accent {
    border-left: 4px solid var(--accent, #2D5F3F);
    padding-left: 16px;
    background: rgba(45, 95, 63, 0.05);
    border-radius: 4px;
}

.trust-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #013220, #1A4D2E);
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin: 4px;
    box-shadow: 0 2px 8px rgba(1, 50, 32, 0.2);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== 專業色彩變量覆蓋 ========== */
:root {
    --bg-primary: #F5F3EE;
    --bg-secondary: #EBE8E1;
    --bg-card: #FFFFFF;
    --border: #D4CFC4;
    --primary: #013220;
    --primary-light: #1A4D2E;
    --accent: #2D5F3F;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
}
