* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans TC", "Roboto", "Arial", sans-serif;
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
}

.banner-container {
    position: relative;
    background: linear-gradient(135deg, #050505, #0a0a0a, #0d0d0d);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite alternate;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
    background: transparent;
    transition: background 0.3s ease;
}

.nav-bar.transparent {
    background: transparent;
}

.nav-bar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}


.content-wrapper {
    padding: 0;
    text-align: center;
    width: 90%;
    max-width: none;
    position: relative;
    z-index: 2;
}

.slogan {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary);
    font-weight: 300;
    letter-spacing: 0.2em;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.chinese-slogan {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary);
    font-weight: 300;
    letter-spacing: 0.2em;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}


.feature-text {
    position: fixed;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.feature-text p {
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    line-height: 1.6;
}

.feature-text.fade-out {
    opacity: 0;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 20px;
    }

  

    .feature-text {
        left: 20px;
        bottom: 20px;
        max-width: 80%;
    }

    .feature-text p {
        font-size: 0.8rem;
    }
}

/* 圈圈動畫 */
.main-circle {
    transition: all 0.1s ease-out;
    opacity: 1; /* 預設可見 */
}

/* 在手機版上的圈圈動畫特別效果 */
@media (max-width: 768px) {
    .main-circle {
        opacity: 0; /* 預設隱藏 */
        transition: opacity 0.5s ease-out; /* 添加淡入淡出效果 */
    }
}

/* 聯繫資訊 */
.contact-info {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 25%;
    min-width: 300px;
    padding: 40px;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}


@media (max-width: 968px) {

    .contact-info {
        width: 100%;
        min-width: 100%;
    }
}

/* 新增的樣式 */
.project-section,
.products-section {
    background: linear-gradient(135deg, #080808, #030303, #0a0a0a);
    padding: 100px 0;
    color: #fff;
    background-size: 200% 200%;
    animation: gradientShift 25s ease infinite;
}

.section-header {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 4px;
    overflow: hidden;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.section-label {
    position: relative;
    display: inline-block;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 20px;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 40px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.project-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 修改項目列表布局 */
.project-item {
    display: grid;
    grid-template-columns: 80px 1fr 0.8fr; /* 縮小右側圖片區域 */
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.2);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid rgba(255, 255, 255, 0.15);
}

/* 項目連結樣式 */
.project-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.project-item-link:hover .project-item {
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.7);
    border-left-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-item-link:hover .project-number {
    opacity: 0.8;
    color: var(--primary);
}

.project-item-link:hover .project-image img {
    transform: scale(1.05);
}

/* 調整項目圖片樣式 */
.project-image {
    position: relative;
    width: 100%;
    height: 200px; /* 降低高度 */
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 調整項目編號樣式 */
.project-number {
    font-size: 5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0.5;
    line-height: 1;
    transition: all 0.3s ease;
    margin-top: 25%;
}

/* 調整項目內容樣式 */
.project-content {
    padding-top: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-content p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
    line-height: 1.6;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.project-link:hover {
    gap: 15px;
}

.project-image {
    position: relative;
    width: 100%;
    max-height: 400px;
    padding-top: 20px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-card {
    background: var(--dark-bg-2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    overflow: hidden;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

/* 移除獨立的產品卡片懸停效果，已由product-card-link接管 */
.product-card:hover {
    transform: none;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.product-content p {
    color: #fff;
    opacity: 0.8;
    font-size: 0.9rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    margin-top: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-link:hover {
    transform: translateX(5px);
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

.view-all-link {
    position: relative;
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    overflow: hidden;
    z-index: 1;
}

.view-all-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.view-all-link:hover {
    color: var(--dark-bg);
}

.view-all-link:hover::before {
    width: 100%;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 968px) {
    .project-item {
        grid-template-columns: 60px 1fr;
        grid-template-areas: 
            "number title"
            "content content"
            "image image";
        gap: 20px;
        padding: 25px;
    }
    
    .project-number {
        font-size: 3.5rem;
        grid-area: number;
        align-self: center;
    }
    
    .project-content {
        grid-area: content;
        padding: 0;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .project-image {
        grid-area: image;
        height: 180px;
        margin-top: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .project-item {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "title"
            "content"
            "image";
        padding: 20px;
    }
    
    .project-number {
        display: none;
    }
    
    .project-image {
        height: 160px;
    }
}

.tech-section {
    position: relative;
    background: linear-gradient(135deg, #0d0d0d, #070707, #0f0f0f);
    padding: 80px 0;
    background-size: 200% 200%;
    animation: gradientShift 22s ease infinite;
}

.tech-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.tech-card {
    background: var(--dark-bg-2);
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    position: relative;
    border-top: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 480px;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: none;
}

.tech-card *:hover {
    cursor: pointer;
}

.tech-image {
    position: relative;
    width: 100%;
    height: 200px;
    min-height: 200px;
    overflow: hidden;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--dark-bg);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tech-content {
    padding: 20px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
}

.tech-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.8em;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tech-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    margin-top: auto;
    max-height: 76px;
    overflow: hidden;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-card {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-card {
        height: auto;
        min-height: 420px;
    }
    
    .tech-content p {
        -webkit-line-clamp: 4;
        max-height: 6.4em;
    }
}

.cta-section {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, #131313, #0e0e0e);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circuit-bg {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    animation: circuitPulse 4s ease-in-out infinite;
}


/* 粒子動畫 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(2px);
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation: particleFloat 12s ease-in-out infinite reverse;
}

.particle:nth-child(3) {
    top: 80%;
    left: 50%;
    animation: particleFloat 10s ease-in-out infinite;
}

.particle:nth-child(4) {
    top: 30%;
    left: 60%;
    animation: particleFloat 9s ease-in-out infinite reverse;
}

.particle:nth-child(5) {
    top: 70%;
    left: 30%;
    animation: particleFloat 11s ease-in-out infinite;
}


.cta-content {
    position: relative;
    text-align: center;
    padding: 60px 20px;
    z-index: 1;
}

/* 故障文字效果 */
.glitch-text {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.8;
}

.glitch-text::before {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #00f5d4;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both
        infinite;
    color: #00d4f5;
    z-index: -2;
}


/* 打字機效果文字 */
.typewriter-text {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* CTA按鈕 */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    top: 0;
    left: -100%;
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--dark-bg);
}

.cta-button:hover::before {
    left: 0;
}

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

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .glitch-text {
        font-size: 2rem;
    }

    .typewriter-text {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

.site-footer {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
    color: #fff;
    font-family: "Noto Sans TC", "Roboto", "Arial", sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* 背景效果 */
.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.footer-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
}

/* 左側資訊 */
.footer-info {
    position: relative;
}

.footer-logo {
    margin-bottom: 30px;
    display: inline-block;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-info {
    margin-bottom: 40px;
}

.info-group {
    margin-bottom: 25px;
}

.info-group h3 {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.info-group p,
.info-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-group a:hover {
    color: var(--primary);
}


.map-container {
    width: 100%;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 右側導航 */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nav-group h3 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.nav-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 15px;
}

.nav-group a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.nav-group a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 1px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.nav-group a:hover {
    color: var(--primary);
    padding-left: 20px;
}

.nav-group a:hover::before {
    width: 10px;
}

/* 版權區域 */
.copyright {
    margin-top: 60px;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }

    .nav-group ul {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        padding: 0 20px;
    }
}

/* AI 服務區塊樣式 */
.ai-service-section {
    position: relative;
    background: linear-gradient(135deg, #121212, #0f0f0f, #131313);
    animation: gradientShift 20s ease infinite alternate;
}

.ai-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.05) 0%, transparent 30%),
                      radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 25%);
    pointer-events: none;
    z-index: 1;
}

.ai-service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    position: relative;
    z-index: 2;
}

.ai-service-content {
    text-align: center;
    padding: 0 5%;
}

.ai-service-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.ai-service-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.ai-service-intro {
    width: 100%;
    margin: 0 auto 80px;
}

.ai-service-intro p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.ai-feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 0 5% 60px;
    width: 90%;
    position: relative;
}

/* AI 特性卡片樣式 */
.ai-feature-card {
    position: relative;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ai-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.ai-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.ai-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

/* 移除所有與 hover 相關的效果 */
.ai-feature-card::before,
.ai-feature-card:hover::before,
.ai-feature-card:nth-child(1):hover ~ .hover1,
.ai-feature-card:nth-child(1):hover ~ .hover1 span,
.ai-feature-card:nth-child(2):hover ~ .hover2-left,
.ai-feature-card:nth-child(2):hover ~ .hover2-right,
.ai-feature-card:nth-child(2):hover ~ .hover2-left span,
.ai-feature-card:nth-child(2):hover ~ .hover2-right span,
.ai-feature-card:nth-child(3):hover ~ .hover3,
.ai-feature-card:nth-child(3):hover ~ .hover3 span,
.consulting-feature-card::before,
.consulting-feature-card:hover::before,
.consulting-feature-card:nth-child(1):hover ~ .hover-consulting1,
.consulting-feature-card:nth-child(1):hover ~ .hover-consulting1 span,
.consulting-feature-card:nth-child(2):hover ~ .hover-consulting2-left,
.consulting-feature-card:nth-child(2):hover ~ .hover-consulting2-right,
.consulting-feature-card:nth-child(2):hover ~ .hover-consulting2-left span,
.consulting-feature-card:nth-child(2):hover ~ .hover-consulting2-right span,
.consulting-feature-card:nth-child(3):hover ~ .hover-consulting3,
.consulting-feature-card:nth-child(3):hover ~ .hover-consulting3 span {
    display: none;
}

/* 直接顯示的特性描述 */
.feature-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.feature-description i {
    color: var(--primary);
    font-size: 1rem;
}

/* 多個特性描述的容器 */
.feature-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.ai-service-cta {
    margin-top: 60px;
}

.ai-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--primary);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ai-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 212, 0.3);
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.ai-button-arrow {
    transition: transform 0.3s ease;
}

.ai-cta-button:hover .ai-button-arrow {
    transform: translateX(5px);
}

/* Hover 動畫效果 */
.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(8, 19, 29, 0.95);
    backdrop-filter: blur(5px);
    z-index: 3;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    transform: scaleX(0);
    transition: transform 0.7s ease, opacity 0.7s ease;
    border: 1px solid rgba(0, 245, 212, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 245, 212, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.hover-effect span {
    opacity: 0;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.7s ease, transform 0.5s ease;
    white-space: nowrap;
    padding: 0 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transform: translateY(10px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hover-effect span i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Hover 1：第一張卡片延伸到右邊 */
.hover1 {
    left: 33.33%;
    width: 66.66%;
    transform-origin: left;
}

/* Hover 2 左側：第二張卡片延伸到左邊 */
.hover2-left {
    left: 0;
    width: 33.33%;
    transform-origin: right;
}

/* Hover 2 右側：第二張卡片延伸到右邊 */
.hover2-right {
    left: 66.66%;
    width: 33.33%;
    transform-origin: left;
}

/* Hover 3：第三張卡片延伸到左邊 */
.hover3 {
    left: 0;
    width: 66.66%;
    transform-origin: right;
}

/* 第一張卡片hover效果 */
.ai-feature-card:nth-child(1):hover ~ .hover1 {
    transform: scaleX(1);
}

.ai-feature-card:nth-child(1):hover ~ .hover1 span {
    opacity: 1;
    transform: translateY(0);
}

/* 第二張卡片hover效果 */
.ai-feature-card:nth-child(2):hover ~ .hover2-left,
.ai-feature-card:nth-child(2):hover ~ .hover2-right {
    transform: scaleX(1);
}

.ai-feature-card:nth-child(2):hover ~ .hover2-left span,
.ai-feature-card:nth-child(2):hover ~ .hover2-right span {
    opacity: 1;
    transform: translateY(0);
}

/* 第三張卡片hover效果 */
.ai-feature-card:nth-child(3):hover ~ .hover3 {
    transform: scaleX(1);
}

.ai-feature-card:nth-child(3):hover ~ .hover3 span {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ai-service-title {
        font-size: 2.2rem;
    }
    .ai-service-subtitle {
        font-size: 1.2rem;
    }
    .ai-service-intro p {
        font-size: 1rem;
    }
    .ai-feature-cards {
        grid-template-columns: 1fr;
        margin: 0 5% 40px;
        width: 90%;
    }
    .ai-feature-card {
        padding: 30px 20px;
    }
    .ai-feature-icon {
        font-size: 2rem;
    }
    .ai-cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    .hover-effect {
        display: none;
    }
}

/* Section 滾動切換效果 */
.fullscreen-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 80px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    counter-increment: section;
}

/* 各個section不同色塊設計 - 黑白深淺風格 */
.banner-container {
    position: relative;
    background: linear-gradient(135deg, #050505, #0a0a0a, #0d0d0d);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite alternate;
}

.ai-service-section {
    position: relative;
    background: linear-gradient(135deg, #121212, #0f0f0f, #131313);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite alternate;
}

.project-section {
    position: relative;
    background: linear-gradient(135deg, #080808, #030303, #0a0a0a);
    background-size: 200% 200%;
    animation: gradientShift 25s ease infinite alternate;
}

.products-section {
    position: relative;
    background: linear-gradient(135deg, #161616, #101010, #181818);
    background-size: 200% 200%;
    animation: gradientShift 18s ease infinite alternate;
}

.tech-section {
    position: relative;
    background: linear-gradient(135deg, #0d0d0d, #070707, #0f0f0f);
    background-size: 200% 200%;
    animation: gradientShift 22s ease infinite alternate;
}

.cta-section {
    position: relative;
    background: linear-gradient(135deg, #131313, #0e0e0e);
}

/* 各section邊界加入微妙的過渡效果 - 改為白色系 */
.fullscreen-section::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 0;
    width: 2px;
    height: 90%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 5;
}

/* 給奇數section添加不同的邊緣亮光 */
.fullscreen-section:nth-child(odd)::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
    opacity: 0.2;
}

/* 給偶數section添加不同的邊緣亮光 */
.fullscreen-section:nth-child(even)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
    opacity: 0.2;
}

/* 為各section添加微妙的紋理背景 - 改為白色紋理 */
.fullscreen-section {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center center;
}

/* 預加載樣式 */
.fullscreen-section.pre-active {
    opacity: 0.1;
    transform: translateY(-10px);
}

.fullscreen-section.active-section {
    opacity: 1;
    transform: translateY(0);
}

.fade-section {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.active-section {
    opacity: 1;
    transform: translateY(0);
}

.slide-section {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-section.active-section {
    opacity: 1;
    transform: translateX(0);
}

/* 導航點樣式 */
.section-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-nav-dot.active {
    background: #fff;
    transform: rotate(45deg) scale(1.3);
}

.section-nav-dot:hover {
    background: #fff;
    transform: rotate(45deg) scale(1.2);
}

/* 確保首個 section 預設可見 */
.banner-container {
    opacity: 1;
}

/* 確保滾動更順暢 */
html {
    /* 移除強制滾動行為 */
    /* scroll-behavior: smooth; */
    /* scroll-snap-type: y proximity; */
}

.fullscreen-section, .banner-container {
    /* 移除強制滾動對齊 */
    /* scroll-snap-align: start; */
    scroll-margin-top: 0px;
    transition: scroll-margin-top 0.3s ease, transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform, opacity; /* 優化性能 */
}

@media (max-width: 768px) {
    .section-nav {
        right: 10px;
    }
    
    .fullscreen-section {
        padding: 100px 0;
    }
}

/* 區塊內元素的階梯式淡入效果 */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 確保查看全部按鈕的樣式與其他區塊一致 */
.view-all-tech {
    text-align: center;
    margin-top: 30px;
}

/* 為每個section添加獨特的側邊裝飾 */
.ai-service-section .section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    width: 3px;
    height: 80px;
    background: var(--primary);
    opacity: 0.7;
}

.project-section .section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    width: 3px;
    height: 80px;
    background: var(--primary);
    opacity: 0.7;
}

.products-section .section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    width: 3px;
    height: 80px;
    background: var(--primary);
    opacity: 0.7;
}

.tech-section .section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    width: 3px;
    height: 80px;
    background: var(--primary);
    opacity: 0.7;
}

/* 強化按鈕樣式 */
.view-all-link {
    position: relative;
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    overflow: hidden;
    z-index: 1;
}

.view-all-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.view-all-link:hover {
    color: var(--dark-bg);
}

.view-all-link:hover::before {
    width: 100%;
}

/* Section 裝飾效果 */
section.ai-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.05) 0%, transparent 30%),
                     radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 25%);
    pointer-events: none;
    z-index: 1;
}

section.project-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
                     linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

section.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

section.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Section 邊界效果 */
section.fullscreen-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

/* 調整section內容，確保在裝飾層之上 */
.ai-service-container, 
.section-header, 
.project-list, 
.products-grid, 
.tech-grid,
.view-all {
    position: relative;
    z-index: 2;
}

/* 添加section分隔裝飾 */
.fullscreen-section {
    position: relative;
}

/* 添加底部波浪分隔線 */
.ai-service-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.3' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff' opacity='.2'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 10;
}

.products-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.3' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff' opacity='.2'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    z-index: 10;
}

/* 添加側邊顏色標記 - 改為白色系 */
.project-section {
    border-left: 5px solid rgba(255, 255, 255, 0.15);
}

.tech-section {
    border-right: 5px solid rgba(255, 255, 255, 0.15);
}

/* 為卡片元素添加獨特的邊框效果 - 改為白色系 */
.product-card {
    border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.tech-card {
    border-top: 3px solid rgba(255, 255, 255, 0.5);
}

.ai-feature-card {
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
}

/* 提升卡片懸停效果 - 改為白色陰影 */
.product-card:hover, .tech-card:hover, .ai-feature-card:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

/* 添加閃光效果 - 改為白色系 */
.section-header::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
}

/* 卡片懸停光暈效果 - 改為白色系 */
.product-card::after, .tech-card::after, .ai-feature-card::after, .project-item::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
}

/* 為各section添加微妙的紋理背景 - 改為白色紋理 */
.fullscreen-section {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* 添加底部波浪分隔線 */
.ai-service-section::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.3' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff' opacity='.2'/%3E%3C/svg%3E");
}

/* 添加側邊顏色標記 */
.project-section {
    border-left: 5px solid rgba(255, 255, 255, 0.15);
}

.tech-section {
    border-right: 5px solid rgba(255, 255, 255, 0.15);
}

/* 增強section標題視覺效果 */
.section-header {
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 40px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
    border-radius: 2px;
}

/* 為卡片元素添加獨特的邊框效果 */
.product-card {
    border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.tech-card {
    border-top: 3px solid rgba(255, 255, 255, 0.5);
}

.ai-feature-card {
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
}

/* 提升卡片懸停效果 */
.product-card:hover, .tech-card:hover, .ai-feature-card:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

/* 添加Section動畫效果 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 添加閃光元素 */
.section-header {
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmerEffect 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerEffect {
    0% {
        left: -150%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: -150%;
    }
}

/* 為section元素添加懸停效果 */
.product-card, .tech-card, .ai-feature-card, .project-item {
    position: relative;
    overflow: hidden;
}

.product-card::after, .tech-card::after, .ai-feature-card::after, .project-item::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.product-card:hover::after, .tech-card:hover::after, .ai-feature-card:hover::after, .project-item:hover::after {
    top: 0;
    left: 0;
    opacity: 1;
}

/* 區塊間強化對比 */
.project-section::after,
.products-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
}

/* 卡片內部分隔線 */
.product-content, .tech-content {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 分隔線效果 */
.section-header {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

/* 強化卡片陰影與懸停效果 */
.product-card, .tech-card, .ai-feature-card, .project-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover, .tech-card:hover, .ai-feature-card:hover, .project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 黑白質感底紋 */
.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

/* 劃分區塊的垂直線 */
.fullscreen-section::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 0;
    width: 2px;
    height: 90%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 5;
}

/* 水平分隔線效果 */
.ai-feature-cards::after,
.tech-grid::after,
.products-grid::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* 卡片內部元素增強 */
.product-content h3::after,
.tech-content h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

/* 區塊數字指示器 */
.fullscreen-section {
    counter-increment: section;
    position: relative;
}

.fullscreen-section::after {
    content: "0" counter(section);
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 1;
    letter-spacing: -5px;
    pointer-events: none;
}

/* 頂部裝飾線條 */
.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

/* 黑白區塊分隔器 */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.05) 20%, 
        transparent 20%,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 40%, 
        rgba(255, 255, 255, 0.05) 60%,
        transparent 60%,
        transparent 80%,
        rgba(255, 255, 255, 0.05) 80%, 
        rgba(255, 255, 255, 0.05) 100%);
    z-index: 10;
}

/* 黑白圖形裝飾 */
.ai-service-section::before,
.project-section::before,
.products-section::before,
.tech-section::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.project-section::before {
    border-radius: 50%;
}

.tech-section::before {
    transform: rotate(45deg);
}

.products-section::before {
    border-radius: 0 50% 50% 50%;
}

/* 優化分隔與導航視覺 */
.section-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.section-nav-dot.active {
    background: #fff;
    transform: rotate(45deg) scale(1.3);
}

.section-nav-dot:hover {
    background: #fff;
    transform: rotate(45deg) scale(1.2);
}

/* 卡片連結樣式 */
.tech-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.tech-card-link:hover {
    transform: translateY(-10px);
}

.tech-card-link:hover .tech-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(30, 30, 30, 0.7);
}

/* 技術卡片 hover 強化效果 */
.tech-card-link:hover .tech-image img {
    transform: scale(1.05);
}

.tech-card-link:hover .category {
    background: #fff;
    color: var(--dark-bg);
}

.tech-card-link:hover .tech-content h3 {
    color: var(--primary);
}

.tech-card-link:hover .tag {
    background: rgba(255, 255, 255, 0.2);
}

/* 產品卡片連結樣式 */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.product-card-link:hover {
    transform: translateY(-10px);
}

.product-card-link:hover .product-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(30, 30, 30, 0.7);
}

/* 產品卡片 hover 強化效果 */
.product-card-link:hover .product-image img {
    transform: scale(1.05);
}

.product-card-link:hover .product-content h3 {
    color: var(--primary);
}

.product-card-link:hover .feature-tag {
    background: rgba(255, 255, 255, 0.2);
}

/* 修改產品卡片樣式，將懸停效果移到連結上 */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card-link .product-card:hover {
    transform: none;
}

/* 修改原有的 AI 服務容器樣式 */
.ai-service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    position: relative;
    z-index: 2;
}

/* 服務欄位容器 */
.service-columns {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
}

.service-columns::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 3;
}

/* 左右服務欄位共同樣式 */
.service-column {
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(20, 20, 20, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 左側服務（邊緣 AI）樣式 */
.left-service {
    border-left: 4px solid var(--primary);
    position: relative;
}

.left-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(0, 245, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* 右側服務（AI 顧問）樣式 - 金色 */
.right-service {
    border-left: 4px solid rgba(255, 215, 0, 0.7); /* 金色 */
    position: relative;
}

.right-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* AI 服務內容容器 */
.ai-service-content,
.consulting-service-content {
    text-align: center;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* AI 服務標題樣式統一 */
.ai-service-title,
.consulting-service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* 差異化標題顏色 */
.ai-service-title {
    background: linear-gradient(135deg, var(--primary), rgba(0, 245, 212, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.consulting-service-title {
    background: linear-gradient(135deg, #ffd700, rgba(255, 215, 0, 0.8)); /* 金色漸變 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 服務副標題樣式統一 */
.ai-service-subtitle,
.consulting-service-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    opacity: 0.9;
    position: relative;
    display: inline-block;
}

/* 副標題線條裝飾 */
.ai-service-subtitle:after,
.consulting-service-subtitle:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
}

.ai-service-subtitle:after {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.consulting-service-subtitle:after {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent); /* 金色 */
}

/* 特性卡片容器 */
.ai-feature-cards,
.consulting-feature-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    position: relative;
}

/* 卡片共同樣式 */
.ai-feature-card,
.consulting-feature-card {
    position: relative;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 卡片上方裝飾線 */
.ai-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.consulting-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.7), transparent);
    opacity: 0.5;
}

/* 卡片懸停效果 */
.ai-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.consulting-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.7); /* 金色 */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 卡片標題共同樣式 */
.ai-feature-card h3,
.consulting-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

/* 差異化標題顏色 */
.ai-feature-card h3 {
    color: var(--primary);
}

.consulting-feature-card h3 {
    color: rgba(255, 215, 0, 0.9); /* 金色 */
}

/* 卡片圖標共同樣式 */
.ai-feature-icon,
.consulting-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.ai-feature-icon {
    color: var(--primary);
}

.consulting-feature-icon {
    color: rgba(255, 215, 0, 0.8); /* 金色 */
}

/* 特性描述統一樣式 */
.feature-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 差異化圖標顏色 */
.ai-feature-card .feature-description i {
    color: var(--primary);
}

.consulting-feature-card .feature-description i {
    color: rgba(255, 215, 0, 0.9); /* 金色 */
}

/* 多個特性描述的容器 */
.feature-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* 統一的 CTA 按鈕容器 */
.unified-service-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

/* 統一的 CTA 按鈕 */
.unified-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    position: relative;
    border: 2px solid transparent;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}


.unified-cta-button i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.unified-cta-button span {
    position: relative;
    z-index: 1;
}

.unified-cta-button:hover i {
    transform: translateX(5px);
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .section-main-title {
        font-size: 2.4rem;
    }
    
    .section-main-subtitle {
        font-size: 1.3rem;
        margin-bottom: 40px;
    }
    
    .service-columns {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .ai-feature-cards,
    .consulting-feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-main-title {
        font-size: 2rem;
    }
    
    .section-main-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .ai-service-container {
        padding: 40px 20px;
    }
    
    .service-column {
        padding: 25px 15px;
    }
    
    .ai-service-title,
    .consulting-service-title {
        font-size: 1.8rem;
    }
    
    .ai-service-subtitle,
    .consulting-service-subtitle {
        font-size: 1.1rem;
    }
    
    .consulting-feature-cards,
    .ai-feature-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ai-feature-card,
    .consulting-feature-card {
        padding: 20px 15px;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
    
    .unified-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .service-columns::after {
        display: none;
    }
}

/* 主標題和副標題 */
.section-main-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.02em;
}

.section-main-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-main-subtitle:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
