/* 雲樞智科網站樣式 */

/* 全域樣式 */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

/* 增強 Checkbox 可見度 */
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    border: 2px solid #0d6efd !important;
    border-radius: 0.25em;
    cursor: pointer;
    background-color: #fff;
}

.form-check-input:hover {
    border-color: #0a58ca !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-check-input:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.form-check-label {
    cursor: pointer;
    padding-left: 0.5rem;
    user-select: none;
}

/* Checkbox 容器背景 */
.contact-card .form-check {
    background-color: #f8f9fa;
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    margin-left: 0;
}

.contact-card .form-check:hover {
    background-color: #e9ecef;
    border-color: #0d6efd;
}

.contact-card .form-check-input {
    margin-left: 0;
    margin-top: 0.25rem;
}

.contact-card .form-check-label {
    margin-left: 0.25rem;
}

/* 最新消息和文章卡片 */
.news-card,
.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.news-card:hover,
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.news-image-container {
    position: relative;
    overflow: hidden;
}

.news-card img,
.article-card img {
    transition: transform 0.3s ease;
}

.news-card:hover img,
.article-card:hover img {
    transform: scale(1.05);
}

/* 內容區域樣式 */
.content-area {
    line-height: 1.8;
}

.content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.content-area h2,
.content-area h3,
.content-area h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.content-area p {
    margin-bottom: 1rem;
}

.content-area ul,
.content-area ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* 導航欄樣式 */
.navbar {
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: var(--transition);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.navbar-nav .nav-link:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

/* Hero 區樣式 */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-buttons .btn {
    border-radius: var(--border-radius-lg);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 服務卡片樣式 */
.service-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-price {
    font-size: 1.25rem;
}

/* 案例卡片樣式 */
.case-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
}

.case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.case-card-body {
    display: flex;
    flex-direction: column;
}

.case-summary {
    min-height: 4.8em;
    margin: 1rem 0 1.15rem;
    font-size: .94rem;
    line-height: 1.65;
}

.case-results {
    display: grid;
    gap: .6rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    color: #43516a;
    font-size: .88rem;
    line-height: 1.55;
}

.case-results li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
}

.case-results li::before {
    content: '\f058';
    flex: 0 0 auto;
    margin-top: .08rem;
    color: #20a889;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.case-details {
    margin-top: auto;
    border-top: 1px solid #e8edf5;
}

.case-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    color: #315fc5;
    cursor: pointer;
    list-style: none;
    font-size: .9rem;
    font-weight: 800;
}

.case-details summary::-webkit-details-marker { display: none; }
.case-details summary i { transition: transform .2s ease; }
.case-details[open] summary i { transform: rotate(180deg); }
.case-details > div { margin-top: 1rem; }
.case-details h4 { margin-bottom: .4rem; color: #22314d; font-size: .88rem; font-weight: 800; }
.case-details p { margin-bottom: .85rem; color: #6b7689; font-size: .84rem; line-height: 1.65; }

.case-icon {
    transition: var(--transition);
}

.case-card:hover .case-icon {
    transform: scale(1.1);
}

.result-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* 關於我們樣式 */
.value-item {
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.value-item:hover {
    background-color: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.value-icon {
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

/* 頁面標題樣式 */
.page-header {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* 服務詳細頁面樣式 */
.service-detail-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-badge {
    font-size: 0.9rem;
    font-weight: 600;
}

.service-features ul li {
    padding: 0.25rem 0;
}

.result-highlight {
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* 聯絡表單樣式 */
.contact-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 聯絡方式卡片樣式 */
.contact-method-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    transition: var(--transition);
}

.contact-method-card:hover .contact-icon {
    transform: scale(1.1);
}

/* 社群連結樣式 */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* 常見問題樣式 */
.accordion-button {
    border-radius: var(--border-radius);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* 文章樣式 */
.article-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.article-title a {
    color: inherit;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-meta {
    font-size: 0.9rem;
}

.article-excerpt {
    line-height: 1.6;
}

/* 分享按鈕樣式 */
.share-buttons .btn {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 相關文章樣式 */
.related-article-card {
    transition: var(--transition);
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: block;
    height: 100%;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: #f8f9fa !important;
    border-color: var(--primary-color);
}

/* 相關文章的圖片樣式 */
.related-article-card img {
    transition: var(--transition);
}

.related-article-card:hover img {
    transform: scale(1.05);
}

/* 相關文章的標題樣式 */
.related-article-card h6 {
    color: #333;
    transition: var(--transition);
}

.related-article-card:hover h6 {
    color: var(--primary-color);
}

/* 相關文章的外層連結樣式 */
.related-articles a {
    text-decoration: none;
    display: block;
}

.related-articles a:hover {
    text-decoration: none;
}

/* 分頁樣式 */
.pagination .page-link {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    color: var(--primary-color);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* CTA 區樣式 */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    border-radius: var(--border-radius-lg);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 統計卡片樣式 */
.metric-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.metric-icon {
    transition: var(--transition);
}

.metric-card:hover .metric-icon {
    transform: scale(1.1);
}

/* 流程步驟樣式 */
.process-step {
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-3px);
}

.step-number {
    transition: var(--transition);
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

/* 團隊成員樣式 */
.team-member-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
}

.team-member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.member-photo img {
    transition: var(--transition);
}

.team-member-card:hover .member-photo img {
    transform: scale(1.05);
}

/* 公司資訊卡片樣式 */
.info-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.info-icon {
    transition: var(--transition);
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

/* 使命卡片樣式 */
.mission-card {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.mission-stats .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* 痛點卡片樣式 */
.pain-point-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--border-radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
}

.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pain-icon {
    transition: var(--transition);
}

.pain-point-card:hover .pain-icon {
    transform: scale(1.1);
}

.solution-badge {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.pain-point-card:hover .solution-badge {
    transform: scale(1.05);
}

/* 高級服務卡片樣式 */
.premium-card {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.premium-badge {
    border-radius: var(--border-radius);
    font-weight: 600;
}

.premium-features ul li {
    padding: 0.25rem 0;
}

.premium-price {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 地圖卡片樣式 */
.map-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    border-radius: var(--border-radius);
}

.map-placeholder {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.map-placeholder:hover {
    transform: scale(1.02);
}

/* 空狀態樣式 */
.empty-state {
    padding: 3rem 0;
}

.empty-state i {
    opacity: 0.5;
}

/* 麵包屑樣式 */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

/* 預設麵包屑樣式（深色背景用） */
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

/* 淺色背景的麵包屑樣式（文章頁面用） */
.bg-light .breadcrumb-item a {
    color: #667eea;
    font-weight: 500;
}

.bg-light .breadcrumb-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.bg-light .breadcrumb-item.active {
    color: #6c757d;
}

.bg-light .breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* Footer 樣式 */
footer img {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

footer img:hover {
    transform: scale(1.05);
}

/* Footer：內容文字白色，標題（h5、h6）保持 text-primary 不變 */
footer .text-muted {
    color: #fff !important;
}
footer .list-unstyled a.text-muted:hover,
footer a.text-muted:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 隱私政策與服務條款樣式 */
.privacy-content,
.terms-content {
    font-size: 1.05rem;
    line-height: 1.7;
}

.privacy-content section,
.terms-content section {
    scroll-margin-top: 100px;
}

.privacy-content h2,
.terms-content h2 {
    margin-top: 2rem;
    scroll-margin-top: 100px;
}

.privacy-content .card,
.terms-content .card {
    transition: var(--transition);
}

.privacy-content .card:hover,
.terms-content .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.privacy-content ul li,
.terms-content ul li {
    line-height: 1.8;
}

.privacy-content .alert,
.terms-content .alert {
    border-radius: var(--border-radius);
}

/* 文章內容樣式 */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 1.5rem 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .service-card,
    .case-card,
    .article-card {
        margin-bottom: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .mission-stats .stat-item h3 {
        font-size: 2rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
    
    footer img {
        max-height: 40px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-brand img {
        max-height: 30px;
    }
    
    footer img {
        max-height: 35px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* 載入動畫 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 工具提示樣式 */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 選擇文字樣式 */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Inner-page design system */
.inner-page { background: #fff; color: #17213b; }
.inner-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 20%, rgba(75, 205, 255, .2), transparent 30%), linear-gradient(135deg, #071326 0%, #10295c 56%, #25185b 100%); }
.inner-hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.inner-kicker, .section-kicker { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: #64ddff; font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.inner-kicker::before, .section-kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.inner-hero h1 { max-width: 820px; margin: 0; font-size: clamp(2.45rem, 5.2vw, 4.7rem); line-height: 1.08; font-weight: 900; letter-spacing: -.045em; }
.inner-hero h1 span { color: #71e6ff; }
.inner-hero p { max-width: 680px; margin-top: 1.5rem; color: rgba(255,255,255,.78); font-size: 1.12rem; line-height: 1.85; }
.inner-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.alt-section { background: #f5f8ff; }
.inner-heading { max-width: 760px; }
.section-kicker { color: #5c68e8; }
.inner-heading h2 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.2; font-weight: 900; letter-spacing: -.035em; }
.inner-heading p { color: #68728a; font-size: 1.04rem; line-height: 1.85; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.14); }

.service-system-map { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; border: 1px solid rgba(113,230,255,.22); border-radius: 50%; background: radial-gradient(circle, rgba(72,118,255,.22), transparent 63%); animation: inner-float 7s ease-in-out infinite; }
.service-system-map::before, .service-system-map::after { content: ''; position: absolute; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; inset: 15%; }
.service-system-map::after { inset: 32%; }
.system-core, .system-node { position: absolute; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 15px 45px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.system-core { inset: 35%; border-radius: 50%; background: linear-gradient(145deg, #5268ff, #19c7ed); font-size: .9rem; }
.system-core i { margin-bottom: .35rem; font-size: 1.45rem; }
.system-node { width: 112px; min-height: 74px; padding: .75rem; border-radius: 16px; background: rgba(13,28,62,.8); font-size: .78rem; }
.system-node i { margin-bottom: .3rem; color: #71e6ff; font-size: 1.15rem; }
.node-website { top: 3%; left: 36%; }.node-search { right: -2%; top: 40%; }.node-automation { bottom: 2%; left: 36%; }.node-analytics { left: -2%; top: 40%; }
@keyframes inner-float { 50% { transform: translateY(-8px); } }

.service-stack { display: grid; gap: 1.4rem; }
.service-offer { overflow: hidden; border: 1px solid #e1e7f2; border-radius: 24px; background: #fff; box-shadow: 0 16px 50px rgba(31,48,90,.08); transition: transform .3s ease, box-shadow .3s ease; }
.service-offer:hover { transform: translateY(-4px); box-shadow: 0 25px 70px rgba(31,48,90,.13); }
.service-offer-top { display: grid; grid-template-columns: 58px 66px 1fr auto; gap: 1.3rem; align-items: center; padding: 2rem; }
.offer-index { color: #a6aec0; font-weight: 800; }
.offer-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; color: #fff; font-size: 1.45rem; }
.offer-blue { background: linear-gradient(135deg,#3367ff,#58a4ff); }.offer-violet { background: linear-gradient(135deg,#7753ee,#b55cff); }.offer-cyan { background: linear-gradient(135deg,#04a8c7,#4be3ca); }.offer-amber { background: linear-gradient(135deg,#f28f26,#ffc85d); }
.offer-title span { color: #6977db; font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.offer-title h3 { margin: .25rem 0 .45rem; font-size: 1.55rem; font-weight: 900; }
.offer-title p { margin: 0; color: #68728a; }
.offer-price { min-width: 150px; text-align: right; }
.offer-price small, .offer-price span { display: block; color: #8a93a7; font-size: .72rem; }
.offer-price strong { display: block; margin: .2rem 0; color: #3e51d9; font-size: 1.1rem; }
.offer-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 1.6rem 2rem; border-top: 1px solid #edf0f6; background: #fbfcff; }
.offer-body h4 { font-size: .82rem; font-weight: 900; }
.offer-body p, .offer-body li { color: #68728a; font-size: .9rem; line-height: 1.7; }
.offer-body ul { margin: 0; padding-left: 1.15rem; }
.offer-footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 2rem; color: #7a8499; font-size: .84rem; }
.offer-footer a { color: #4055d8; font-weight: 800; text-decoration: none; }
.delivery-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; }
.delivery-steps > div { position: relative; padding: 1.5rem; border: 1px solid #e2e8f4; border-radius: 20px; background: #fff; }
.delivery-steps span { position: absolute; top: 1rem; right: 1rem; color: #b6bed0; font-weight: 900; }
.delivery-steps i { color: #5667e8; font-size: 1.45rem; }.delivery-steps h3 { margin: 1rem 0 .5rem; font-size: 1rem; font-weight: 900; }.delivery-steps p { margin: 0; color: #778197; font-size: .86rem; }
.inner-cta { position: relative; overflow: hidden; padding: clamp(4rem,8vw,6rem) 0; color: #fff; background: linear-gradient(135deg,#10295c,#26156a); }
.inner-cta::before { content:''; position:absolute; width:420px; height:420px; right:-140px; top:-200px; border-radius:50%; background:rgba(62,210,255,.16); filter:blur(10px); }
.inner-cta h2 { max-width: 850px; margin: 0 auto; font-size: clamp(2rem,4vw,3.25rem); font-weight:900; }.inner-cta p { margin: 1rem auto 0; color:rgba(255,255,255,.74); font-size:1.05rem; }

@media (max-width: 991px) {
  .service-system-map { max-width: 390px; }
  .service-offer-top { grid-template-columns: 52px 62px 1fr; }.offer-price { grid-column: 3; text-align:left; }
  .delivery-steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(24px); }
  [data-reveal].is-revealed { transform: translateY(0); }
  .inner-hero h1 { font-size: 2.55rem; }.inner-hero p { font-size: 1rem; }
  .service-system-map { transform: scale(.9); margin-block: -1rem; }
  .service-system-map:hover { transform: scale(.9); }
  .service-offer-top { grid-template-columns: 42px 54px 1fr; padding:1.35rem; gap:.8rem; }.offer-icon { width:52px;height:52px; }.offer-title h3{font-size:1.2rem}.offer-price{grid-column:1/-1;text-align:left;padding-left:50px}
  .offer-body { grid-template-columns:1fr; gap:1rem; padding:1.35rem; }.offer-footer{align-items:flex-start;flex-direction:column;padding:1rem 1.35rem}.delivery-steps{grid-template-columns:1fr}
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* 焦點樣式 */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 無障礙設計 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   輕量級聊天引導系統
   ======================================== */

/* 浮動聊天按鈕 */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06D6A0 0%, #1B9AAA 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(6, 214, 160, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(6, 214, 160, 0.6);
}

.chat-button .chat-icon {
    transition: transform 0.3s ease;
}

.chat-button.active .chat-icon {
    transform: rotate(90deg);
}

/* 脈衝動畫 */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(6, 214, 160, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(6, 214, 160, 0.7);
    }
}

/* 未讀訊息徽章 */
.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #EF476F;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 聊天視窗 */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 998;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.chat-widget.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* 聊天視窗標題列 */
.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.chat-header-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #06D6A0;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 聊天內容區 */
.chat-body {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

/* 歡迎訊息 */
.chat-message {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

.chat-message .wave {
    font-size: 24px;
    display: inline-block;
    animation: wave 1s ease infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

/* 快速選項 */
.chat-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.chat-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateX(5px);
}

.chat-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.chat-option-icon.line {
    background: #06C755;
    color: white;
}

.chat-option-icon.whatsapp {
    background: #25D366;
    color: white;
}

.chat-option-icon.form {
    background: #667eea;
    color: white;
}

.chat-option-content {
    flex: 1;
}

.chat-option-title {
    font-weight: 600;
    color: #212529;
    margin: 0 0 4px 0;
    font-size: 15px;
}

.chat-option-desc {
    color: #6c757d;
    font-size: 13px;
    margin: 0;
}

.chat-option-badge {
    background: #06D6A0;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

/* 底部提示 */
.chat-footer {
    padding: 16px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.chat-footer-text {
    color: #6c757d;
    font-size: 12px;
    margin: 0;
}

.chat-footer-text i {
    color: #06D6A0;
}

/* 回到頂部按鈕樣式 */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .chat-button {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .chat-widget {
        bottom: 90px;
        right: 20px;
        width: calc(100vw - 40px);
    }
    
    .chat-body {
        max-height: 300px;
    }
    
    /* 手機版回到頂部按鈕調整位置 */
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 46px;
        height: 46px;
    }
}

/* 列印樣式 */
@media print {
    .navbar,
    .sidebar,
    .cta-section,
    .share-buttons,
    .pagination,
    .chat-button,
    .chat-widget {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0 !important;
    }
    
    .article-body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .article-body h1,
    .article-body h2,
    .article-body h3 {
        page-break-after: avoid;
    }
    
    .article-body p {
        orphans: 3;
        widows: 3;
    }
}

/* =========================================================
   首頁 2026：雲樞 AI 數位成長系統
   ========================================================= */
.home-page {
    --growth-navy: #07132f;
    --growth-blue: #3b82f6;
    --growth-cyan: #22d3ee;
    --growth-violet: #8b5cf6;
    --growth-amber: #f59e0b;
    --growth-ink: #13213d;
    --growth-muted: #62708a;
    overflow: clip;
    background: #fff;
}

.section-space { padding: 6.5rem 0; }
.section-heading { max-width: 760px; }
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #3866d7;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.section-kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section-kicker-light { color: #79e7ff; }
.section-title { color: var(--growth-ink); font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 800; line-height: 1.18; letter-spacing: -.035em; }
.section-lead { color: var(--growth-muted); font-size: 1.12rem; line-height: 1.85; }

.growth-hero {
    position: relative;
    isolation: isolate;
    min-height: 820px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 40%, rgba(49, 103, 255, .28), transparent 34%),
        radial-gradient(circle at 12% 22%, rgba(139, 92, 246, .18), transparent 28%),
        linear-gradient(135deg, #050d23 0%, #071a42 56%, #091838 100%);
}
.growth-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, rgba(5, 13, 35, .55));
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .18;
    background-image: linear-gradient(rgba(99, 169, 255, .23) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 169, 255, .23) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; pointer-events: none; animation: heroFloat 8s ease-in-out infinite; }
.hero-orb-one { width: 320px; height: 320px; top: 8%; left: -150px; background: radial-gradient(circle, rgba(43, 189, 255, .24), transparent 68%); }
.hero-orb-two { width: 420px; height: 420px; right: -160px; bottom: 0; background: radial-gradient(circle, rgba(139, 92, 246, .3), transparent 67%); animation-delay: -3s; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem .9rem; border: 1px solid rgba(130, 218, 255, .22); border-radius: 999px; color: #cdefff; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); font-size: .86rem; font-weight: 700; letter-spacing: .04em; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #46e7ff; box-shadow: 0 0 0 5px rgba(70,231,255,.12), 0 0 18px #46e7ff; animation: signalPulse 2s infinite; }
.hero-title { font-size: clamp(2.45rem, 5.2vw, 4.65rem); line-height: 1.1; font-weight: 900; letter-spacing: -.055em; text-wrap: balance; }
.text-gradient { color: transparent; background: linear-gradient(90deg, #67e8f9, #8bb8ff 55%, #c6a8ff); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 660px; color: rgba(226, 237, 255, .82); font-size: clamp(1.04rem, 1.5vw, 1.23rem); line-height: 1.85; }
.btn-glow { border: 0; color: #06142f; background: linear-gradient(120deg, #82f3ff, #79a9ff); box-shadow: 0 14px 40px rgba(37, 197, 255, .24), inset 0 1px rgba(255,255,255,.8); font-weight: 800; }
.btn-glow:hover { color: #06142f; transform: translateY(-3px); box-shadow: 0 18px 48px rgba(37, 197, 255, .36); }
.btn-ghost-light { color: #eef7ff; border: 1px solid rgba(255,255,255,.33); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); font-weight: 700; }
.btn-ghost-light:hover { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.13); transform: translateY(-3px); }
.growth-hero .hero-buttons .btn { padding-inline: 1.2rem; font-size: .98rem; white-space: nowrap; }
.hero-proof { color: rgba(221, 237, 255, .75); font-size: .88rem; }
.hero-proof i { margin-right: .35rem; color: #63e7c9; }
.hero-visual { position: relative; transform-style: preserve-3d; will-change: transform; transition: transform .2s ease-out; }
.hero-ai-image { position: relative; z-index: 2; width: 120%; max-width: none; margin-left: -8%; border-radius: 42% 22% 35% 18%; filter: saturate(1.04) drop-shadow(0 35px 60px rgba(0, 75, 220, .2)); mask-image: radial-gradient(ellipse 72% 70% at 60% 50%, #000 44%, rgba(0,0,0,.75) 69%, transparent 100%); }
.hero-visual-halo { position: absolute; width: 68%; aspect-ratio: 1; top: 15%; right: 1%; z-index: 1; border: 1px solid rgba(104, 205, 255, .35); border-radius: 50%; box-shadow: 0 0 80px rgba(60, 121, 255, .32), inset 0 0 40px rgba(108, 217, 255, .16); animation: haloSpin 14s linear infinite; }
.hero-visual-halo::before, .hero-visual-halo::after { content: ''; position: absolute; inset: 9%; border: 1px dashed rgba(164, 131, 255, .34); border-radius: inherit; }
.hero-visual-halo::after { inset: 22%; border-style: solid; border-color: rgba(102, 232, 255, .18); }
.floating-signal { position: absolute; z-index: 4; display: flex; align-items: center; gap: .6rem; padding: .62rem .8rem; border: 1px solid rgba(150, 219, 255, .25); border-radius: 12px; color: #eafbff; background: rgba(7, 24, 61, .74); box-shadow: 0 14px 35px rgba(0,0,0,.22); backdrop-filter: blur(12px); font-size: .78rem; font-weight: 700; animation: signalFloat 5s ease-in-out infinite; }
.floating-signal i { color: #62eaff; }
.signal-search { top: 18%; left: 2%; }
.signal-data { right: 0; bottom: 18%; animation-delay: -1.7s; }
.signal-auto { left: 13%; bottom: 6%; animation-delay: -3.2s; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.35rem; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .35rem; color: rgba(221,237,255,.58); font-size: .72rem; text-decoration: none; letter-spacing: .1em; transform: translateX(-50%); }
.scroll-cue:hover { color: #fff; }
.scroll-cue i { animation: scrollCue 1.7s ease-in-out infinite; }

.growth-check-section { position: relative; background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); }
.growth-check-section::before { content: ''; position: absolute; width: 400px; height: 400px; left: -220px; top: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.11), transparent 68%); }
.pain-list { display: grid; gap: .85rem; }
.pain-list > div { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1px solid #e4eaf5; border-radius: 14px; color: #30405d; background: rgba(255,255,255,.8); box-shadow: 0 8px 26px rgba(49, 73, 122, .05); }
.pain-list i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #496ddd; background: #edf3ff; }
.assessment-card { position: relative; min-height: 510px; padding: clamp(1.35rem, 4vw, 2.4rem); border: 1px solid rgba(84, 117, 189, .14); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 32px 90px rgba(39, 68, 128, .14); overflow: hidden; }
.assessment-card::before { content: ''; position: absolute; width: 220px; height: 220px; top: -120px; right: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 130, 255, .2), transparent 70%); }
.assessment-topbar { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid #e9edf5; }
.assessment-topbar > div:first-child { display: flex; flex-direction: column; }
.assessment-label { color: #5a71ad; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.assessment-topbar strong { color: #172641; font-size: .92rem; }
.assessment-progress { width: 150px; height: 6px; border-radius: 999px; background: #e8edf7; overflow: hidden; }
.assessment-progress span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4976ff, #35d1eb); transition: width .35s ease; }
.assessment-step, .assessment-result { position: relative; padding-top: 2rem; animation: panelEnter .4s ease both; }
.assessment-step h3, .assessment-result h3 { margin-bottom: 1.45rem; color: #13213d; font-size: clamp(1.28rem, 3vw, 1.75rem); font-weight: 800; }
.assessment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.assessment-option { display: flex; align-items: center; gap: .9rem; min-height: 78px; padding: .85rem 1rem; border: 1px solid #dfe6f2; border-radius: 15px; color: #34435f; background: #fff; text-align: left; font-weight: 700; transition: .25s ease; }
.assessment-option i { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; color: #5377df; background: #eef3ff; transition: inherit; }
.assessment-option:hover, .assessment-option.is-selected { border-color: #6b8cf2; color: #1f429e; background: #f4f7ff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(65, 99, 184, .1); }
.assessment-option:hover i, .assessment-option.is-selected i { color: #fff; background: linear-gradient(135deg, #4a73ef, #7b5de7); }
.assessment-footer { position: absolute; right: clamp(1.35rem, 4vw, 2.4rem); bottom: 1.2rem; left: clamp(1.35rem, 4vw, 2.4rem); display: flex; justify-content: space-between; align-items: center; color: #8791a4; font-size: .76rem; }
.assessment-footer .btn-link { padding: 0; color: #5973b5; text-decoration: none; font-weight: 700; }
.assessment-footer .btn-link:disabled { color: #b9c0cc; }
.result-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1rem; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #3c76f2, #7c5be7); box-shadow: 0 12px 28px rgba(79, 102, 219, .25); font-size: 1.35rem; }
.assessment-result p { color: #67748c; line-height: 1.75; }
.assessment-result ul { display: grid; gap: .55rem; padding: 0; list-style: none; }
.assessment-result li::before { content: '\f058'; margin-right: .55rem; color: #2bb59a; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

.solutions-section { background: #fff; }
.capability-card { position: relative; padding: 2rem 1.5rem; border: 1px solid #e8edf6; border-radius: 22px; background: #fff; box-shadow: 0 15px 44px rgba(32, 58, 110, .06); overflow: hidden; transition: .35s ease; }
.capability-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--card-color); transform: scaleX(.25); transform-origin: left; transition: .35s ease; }
.capability-card:hover { border-color: color-mix(in srgb, var(--card-color) 30%, #fff); transform: translateY(-9px); box-shadow: 0 24px 55px rgba(32, 58, 110, .13); }
.capability-card:hover::before { transform: scaleX(1); }
.capability-blue { --card-color: #3b82f6; }.capability-violet { --card-color: #8b5cf6; }.capability-cyan { --card-color: #06b6d4; }.capability-amber { --card-color: #f59e0b; }
.capability-number { position: absolute; top: 1.1rem; right: 1.15rem; color: #e8edf6; font-size: 2.1rem; font-weight: 900; }
.capability-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.35rem; border-radius: 17px; color: var(--card-color); background: color-mix(in srgb, var(--card-color) 11%, white); font-size: 1.3rem; }
.capability-card h3 { color: #1b2942; font-size: 1.13rem; font-weight: 800; line-height: 1.4; }
.capability-card p { min-height: 112px; color: #6a768b; font-size: .94rem; line-height: 1.75; }
.capability-card a { color: var(--card-color); text-decoration: none; font-size: .87rem; font-weight: 800; }
.capability-card a i { margin-left: .35rem; transition: transform .2s ease; }.capability-card a:hover i { transform: translateX(4px); }

.journey-section { position: relative; color: #fff; background: radial-gradient(circle at 70% 40%, rgba(53, 101, 241, .24), transparent 28%), linear-gradient(135deg, #07142e, #081c48 64%, #11163a); overflow: hidden; }
.journey-section::before { content: ''; position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(rgba(116, 207, 255, .7) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent, #000); }
.journey-nav { position: relative; display: grid; gap: .65rem; margin-top: 2rem; }
.journey-tab { display: flex; align-items: center; gap: .8rem; padding: .78rem 1rem; border: 1px solid transparent; border-radius: 13px; color: rgba(225,238,255,.63); background: transparent; text-align: left; font-weight: 700; transition: .25s ease; }
.journey-tab span { color: #75dcff; font-size: .75rem; letter-spacing: .08em; }
.journey-tab:hover, .journey-tab.is-active { color: #fff; border-color: rgba(111, 213, 255, .18); background: rgba(255,255,255,.07); transform: translateX(6px); }
.journey-stage { position: relative; min-height: 490px; display: grid; place-items: center; }
.journey-orbit { position: absolute; width: min(520px, 90%); aspect-ratio: 1; border: 1px solid rgba(82, 179, 255, .16); border-radius: 50%; animation: haloSpin 26s linear infinite; }
.journey-orbit::before, .journey-orbit::after { content: ''; position: absolute; inset: 13%; border: 1px dashed rgba(139, 110, 255, .2); border-radius: inherit; }.journey-orbit::after { inset: 27%; border-style: solid; }
.journey-orbit span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #53e4ff; box-shadow: 0 0 18px #53e4ff; }.journey-orbit span:nth-child(1){top:10%;left:24%}.journey-orbit span:nth-child(2){right:5%;top:48%}.journey-orbit span:nth-child(3){bottom:8%;left:35%}
.journey-panel { position: relative; z-index: 2; width: min(440px, 90%); padding: 2rem; border: 1px solid rgba(132, 209, 255, .2); border-radius: 25px; background: rgba(9, 28, 67, .76); box-shadow: 0 28px 70px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(18px); animation: panelEnter .4s ease both; }
.journey-panel-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1rem; border-radius: 18px; color: #8cecff; background: linear-gradient(135deg, rgba(53,141,255,.28), rgba(139,92,246,.24)); font-size: 1.35rem; }
.journey-panel > span { color: #72dcff; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }.journey-panel h3 { margin: .35rem 0 .8rem; font-size: 1.55rem; font-weight: 800; }.journey-panel p { color: rgba(224,236,255,.68); line-height: 1.75; }.journey-panel ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }.journey-panel li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .65rem; border-radius: 50%; background: #58dfd0; box-shadow: 0 0 10px #58dfd0; }

.industry-section { background: linear-gradient(180deg, #fff, #f7f9fd); }
.industry-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.industry-tab { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 1px solid #e0e6f0; border-radius: 999px; color: #66738b; background: #fff; font-size: .88rem; font-weight: 700; transition: .25s ease; }
.industry-tab:hover, .industry-tab.is-active { color: #fff; border-color: transparent; background: linear-gradient(120deg, #416fe8, #7657d9); box-shadow: 0 10px 25px rgba(80, 91, 208, .22); transform: translateY(-2px); }
.industry-display { max-width: 1000px; margin: 2rem auto 0; }
.industry-panel { display: grid; grid-template-columns: auto 1.4fr 1fr; align-items: center; gap: 2rem; min-height: 250px; padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid #e4e9f2; border-radius: 25px; background: #fff; box-shadow: 0 22px 60px rgba(29, 54, 103, .09); animation: panelEnter .4s ease both; }
.industry-icon { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #397ef0, #8059dc); box-shadow: 0 16px 35px rgba(75, 91, 211, .24); font-size: 1.8rem; }
.industry-label { color: #5b74bc; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }.industry-panel h3 { margin: .35rem 0 .7rem; color: #17243c; font-size: 1.55rem; font-weight: 800; }.industry-panel p { margin: 0; color: #6c778b; line-height: 1.75; }.industry-panel ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; color: #4e5d77; font-size: .9rem; }.industry-panel li::before { content: '\f058'; margin-right: .55rem; color: #2db49c; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

.trust-section { background: #fff; }
.trust-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.trust-visual::before { content: ''; position: absolute; width: 360px; aspect-ratio: 1; border: 1px dashed #cfd9ec; border-radius: 50%; animation: haloSpin 30s linear infinite; }
.trust-core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 180px; aspect-ratio: 1; border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 25%, #6e98ff, #3d63cf 55%, #5d43b5); box-shadow: 0 30px 75px rgba(70, 85, 196, .3); }.trust-core i { font-size: 2rem; }.trust-core strong { margin-top: .25rem; font-size: 1.35rem; }.trust-core span { color: rgba(255,255,255,.68); font-size: .72rem; letter-spacing: .12em; }
.trust-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: .55rem; padding: .7rem .85rem; border: 1px solid #e1e7f1; border-radius: 14px; color: #34445f; background: rgba(255,255,255,.94); box-shadow: 0 12px 32px rgba(36, 59, 105, .1); font-size: .84rem; font-weight: 800; animation: signalFloat 5s ease-in-out infinite; }.trust-node i { color: #4f77dc; }.node-one { top: 8%; left: 15%; }.node-two { top: 17%; right: 8%; animation-delay: -1.2s; }.node-three { left: 5%; bottom: 13%; animation-delay: -2.4s; }.node-four { right: 10%; bottom: 7%; animation-delay: -3.6s; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }.principle-grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; padding: 1rem; border: 1px solid #e6ebf3; border-radius: 16px; }.principle-grid i { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #4a70da; background: #edf3ff; }.principle-grid strong { color: #26354f; font-size: .92rem; }.principle-grid span { color: #748095; font-size: .82rem; line-height: 1.55; }

.growth-cta { position: relative; color: #fff; background: radial-gradient(circle at 50% 0%, rgba(58, 207, 255, .22), transparent 31%), linear-gradient(135deg, #07152f, #10275a 62%, #261c56); overflow: hidden; }.growth-cta::before, .growth-cta::after { content: ''; position: absolute; width: 450px; height: 450px; border: 1px solid rgba(102, 217, 255, .12); border-radius: 50%; }.growth-cta::before { top: -260px; left: -80px; }.growth-cta::after { right: -150px; bottom: -300px; }.cta-beam { position: absolute; width: 70%; height: 1px; top: 0; left: 15%; background: linear-gradient(90deg, transparent, #61e5ff, transparent); box-shadow: 0 0 25px #61e5ff; }
.growth-cta .section-lead { max-width: 760px; }
.home-page + footer { margin-top: 0; }
.home-page .faq-aiso-section { padding-top: 6rem !important; padding-bottom: 6rem !important; background: #f7f9fd !important; }.home-page .faq-aiso-section .accordion { display: grid; gap: .75rem; }.home-page .faq-aiso-section .accordion-item { border: 1px solid #e1e7f0; border-radius: 15px; overflow: hidden; }.home-page .faq-aiso-section .accordion-button { color: #263650; font-weight: 750; }.home-page .faq-aiso-section .accordion-button:not(.collapsed) { color: #315bbf; background: #eef4ff; box-shadow: none; }

/* Progressive enhancement: content is visible unless JavaScript explicitly enables reveal animations. */
[data-reveal] { opacity: 1; transform: none; }
.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal-enabled [data-reveal="left"] { transform: translateX(-34px); }
.reveal-enabled [data-reveal="right"] { transform: translateX(34px); }
.reveal-enabled [data-reveal].is-revealed { opacity: 1; transform: translate(0); }

@keyframes heroFloat { 50% { transform: translate3d(20px, 18px, 0) scale(1.07); } }
@keyframes signalPulse { 50% { box-shadow: 0 0 0 9px rgba(70,231,255,0), 0 0 25px #46e7ff; } }
@keyframes signalFloat { 50% { transform: translateY(-9px); } }
@keyframes haloSpin { to { transform: rotate(360deg); } }
@keyframes scrollCue { 50% { transform: translateY(6px); } }
@keyframes panelEnter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
    .section-space { padding: 5rem 0; }
    .growth-hero { min-height: auto; text-align: center; }
    .hero-copy { padding-top: 7rem !important; }
    .hero-lead { margin-inline: auto; }.hero-buttons, .hero-proof { justify-content: center; }
    .hero-visual { max-width: 720px; margin: 0 auto; }.hero-ai-image { width: 105%; margin-left: -2%; }
    .scroll-cue { display: none; }
    .industry-panel { grid-template-columns: auto 1fr; }.industry-panel ul { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
    .journey-stage { min-height: 520px; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: clamp(2.25rem, 11vw, 3.3rem) !important; }
    .floating-signal { display: none; }
    .assessment-card { min-height: 555px; }.assessment-options { grid-template-columns: 1fr; }.assessment-option { min-height: 66px; }
    .assessment-progress { width: 92px; }.assessment-footer span { display: none; }
    .capability-card p { min-height: auto; }
    .industry-panel { grid-template-columns: 1fr; text-align: center; }.industry-icon { margin: 0 auto; }.industry-panel ul { grid-column: auto; grid-template-columns: 1fr; text-align: left; }
    .principle-grid { grid-template-columns: 1fr; }
    .trust-visual { min-height: 410px; transform: scale(.9); }
}

@media (max-width: 575.98px) {
    .section-space { padding: 4.25rem 0; }
    .hero-copy { padding-top: 6rem !important; }.hero-title br { display: none; }
    .hero-ai-image { width: 115%; margin-left: -7%; }
    .hero-proof { display: grid !important; gap: .5rem !important; text-align: left; }
    .assessment-card { min-height: 585px; border-radius: 20px; }
    .assessment-topbar { align-items: center; }.assessment-topbar strong { font-size: .78rem; }
    .industry-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }.industry-tab { justify-content: center; border-radius: 12px; }
    .journey-panel { padding: 1.45rem; }.journey-stage { min-height: 460px; }
    .trust-visual::before { width: 300px; }.trust-core { width: 150px; }.trust-node { font-size: .72rem; padding: .55rem .65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
    .reveal-enabled [data-reveal="left"], .reveal-enabled [data-reveal="right"] { transform: translateY(24px); }
    .reveal-enabled [data-reveal].is-revealed { transform: translateY(0); }
    .about-page .row { --bs-gutter-x: 1.5rem; }
}
