/* 關於我們頁面樣式 */
:root {
    --primary: #00f5d4;
    --secondary: #00d4f5;
    --dark-bg: #0a0f18;
    --dark-bg-2: #1a1f2e;
    --light-bg: #f5f5f5;
    --light-bg-2: #e5e5e5;
    --primary-color: #007bff;
    --primary-light: #6ab7ff;
    --primary-dark: #005cb2;
    --secondary-color: #6c757d;
    --secondary-light: #64d8cb;
    --secondary-dark: #00766c;
    --tech-primary: #00c8ff;
    --tech-secondary: #7a4cff;
    --tech-accent: #ff7e5f;
    --tech-neon: #00ffea;
    --tech-blue: #0062ff;
    --dark-blue: #082148;
    --text-color: #333;
    --light-text: #fff;
    --tech-glow: rgba(0, 200, 255, 0.5);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* 橫幅動畫相關樣式 */
.banner-section {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    position: relative;
    transition: height 1s ease, padding 2s ease;
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-2));
    background-size: cover;
    background-position: center;
}

.banner-title {
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    background-image: linear-gradient(120deg, var(--primary) 20%, #ffffff 50%, var(--primary) 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shimmerText 4s ease-in-out forwards;
    position: relative;
    z-index: 2;
}

@keyframes shimmerText {
    from {
        background-position: -100% 0;
    }

    to {
        background-position: 200% 0;
    }
}

.banner-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    z-index: 2;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 橫幅動畫狀態類別 */
.banner-expand {
    height: 105vh;
}

.banner-collapsed {
    height: 300px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: height 2s ease, padding 2s ease;
}

/* 確保覆蓋層在正確位置 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 共用容器和標題樣式 */
.about-container,
.values-container,
.services-container,
.story-container,
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* 公司簡介與願景合併區塊 - 科技風格設計 */
.intro-vision-wrapper {
    position: relative;
    background: linear-gradient(135deg, #1a2035 0%, #121827 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 3rem;
    margin: 3rem 0;
    color: #fff;
    min-height: 600px;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.intro-vision-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                0 0 25px rgba(0, 200, 255, 0.2);
    transform: translateY(-5px);
}

.intro-vision-content {
    position: relative;
    z-index: 2;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-icon {
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-secondary));
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
}

.header-icon i {
    font-size: 22px;
    color: white;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0;
    background: linear-gradient(90deg, #ffffff, #a0d8ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* 公司資訊網格 */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.2rem;
    border-left: 3px solid var(--tech-primary);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
}

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

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 200, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.info-icon {
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-secondary));
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.info-icon i {
    font-size: 18px;
    color: white;
}

.info-content {
    flex: 1;
}

.info-content strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--tech-primary);
}

.info-content p {
    margin: 0;
    font-size: 1.1rem;
}

/* 願景聲明區塊 */
.vision-statement {
    background: rgba(0, 20, 40, 0.7);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(0, 200, 255, 0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.vision-statement.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.vision-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--tech-glow) 0%, rgba(0, 200, 255, 0) 70%);
    filter: blur(20px);
    top: -50px;
    right: -50px;
    z-index: 0;
    animation: pulse-glow 6s infinite alternate;
}

.vision-icon {
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent));
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    box-shadow: 0 0 20px rgba(122, 76, 255, 0.4);
    position: relative;
    z-index: 1;
}

.vision-icon i {
    font-size: 24px;
    color: white;
}

.vision-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.vision-text h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    display: inline-block;
}

.vision-text h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--tech-primary), var(--tech-secondary));
}

.vision-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 願景亮點 */
.vision-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.highlight-item i {
    color: var(--tech-primary);
    font-size: 14px;
}

.highlight-item span {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.highlight-item:hover {
    background: rgba(0, 200, 255, 0.15);
    transform: translateY(-3px);
}

.highlight-item.pulse {
    animation: highlight-pulse 0.5s ease-in-out;
}

/* 科技裝飾元素 */
.tech-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.circle1 {
    width: 300px;
    height: 300px;
    border: 2px solid var(--tech-primary);
    top: -150px;
    right: -100px;
    animation: rotate 40s linear infinite;
}

.circle2 {
    width: 200px;
    height: 200px;
    border: 1px solid var(--tech-secondary);
    bottom: -100px;
    left: -50px;
    animation: rotate 30s linear infinite reverse;
}

.tech-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 200, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: fade-in 1s ease-in-out;
}

.tech-dots {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(rgba(0, 200, 255, 0.6) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.2;
    border-radius: 50%;
    animation: pulse 5s infinite alternate;
}

.tech-lines {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 100px;
    height: 150px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 5px,
        rgba(122, 76, 255, 0.3) 5px,
        rgba(122, 76, 255, 0.3) 6px
    );
    opacity: 0.15;
    transform: skewX(-15deg);
}

.tech-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--tech-accent) 0%, rgba(255, 126, 95, 0) 70%);
    opacity: 0.3;
    animation: pulse 3s infinite;
}

.tech-circuit {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 200px;
    height: 100px;
    opacity: 0.15;
    background-image: url('../../images/decoration/circuit-pattern.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* 科技引述區塊 */
.tech-quote {
    text-align: center;
    margin: 3rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.tech-quote.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.quote-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.5), transparent);
    flex: 1;
    max-width: 150px;
}

.tech-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 1.5rem;
    padding: 0.5rem 0;
}

/* 動畫關鍵幀 */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.2; }
}

@keyframes pulse-glow {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 0.1; }
}

@keyframes highlight-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 科技元素顯示動畫 */
.show-tech-elements .tech-circle,
.show-tech-elements .tech-grid,
.show-tech-elements .tech-dots,
.show-tech-elements .tech-lines,
.show-tech-elements .tech-pulse,
.show-tech-elements .tech-circuit {
    animation-play-state: running;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .intro-vision-wrapper {
        padding: 2rem;
    }
    
    .company-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .vision-statement {
        flex-direction: column;
    }
    
    .vision-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-highlights {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .highlight-item {
        width: 100%;
    }
    
    .intro-vision-wrapper {
        padding: 1.5rem;
    }
}

/* 核心價值區塊 */
.values-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: linear-gradient(135deg, rgba(26, 32, 53, 0.8) 0%, rgba(18, 24, 39, 0.9) 100%);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 200, 255, 0.1);
    height: 100%;
    z-index: 1;
}

.value-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--tech-primary), var(--tech-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 200, 255, 0.2);
}

.value-card:hover:before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 200, 255, 0.3);
}

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

.card-icon i {
    font-size: 26px;
    color: #fff;
    transition: transform 0.3s ease;
}

.value-card:hover .card-icon i {
    transform: rotate(360deg);
}

.card-content {
    position: relative;
}

.card-content h4 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.value-card:hover .card-content h4 {
    color: var(--tech-primary);
}

.card-content p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* 主要服務區塊 */
.services-section {
    background-color: var(--dark-bg-2);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(26, 32, 53, 0.5);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    min-height: 180px;
    border: 1px solid rgba(0, 200, 255, 0.1);
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 200, 255, 0.2);
    background: rgba(26, 32, 53, 0.7);
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--tech-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.particle.active {
    opacity: 0.6;
    animation: particleFloat 3s infinite alternate ease-in-out;
}

.particle1 {
    top: 20%;
    right: 10%;
}

.particle2 {
    bottom: 30%;
    left: 15%;
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(10px, -10px);
    }
}

.service-card .card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.service-card .card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card .card-content p {
    font-size: 0.95rem;
}

/* 故事介紹區塊 */
.story-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.story-content {
    position: relative;
    z-index: 2;
}

.story-card {
    background: linear-gradient(135deg, rgba(26, 32, 53, 0.8) 0%, rgba(18, 24, 39, 0.9) 100%);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 200, 255, 0.1);
}

.story-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

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

.story-card:hover .responsive-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.story-card .card-content {
    padding: 30px;
}

.story-paragraphs {
    margin-bottom: 25px;
}

.typed-text {
    color: #eee;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--tech-primary);
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
}

/* FAQ區塊 */
.faq-section {
    background-color: var(--dark-bg-2);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.faq-wrapper {
    background: rgba(26, 32, 53, 0.5);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 200, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.faq-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.faq-tabs::-webkit-scrollbar {
    display: none;
}

.faq-tab {
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: #bbb;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.tab-icon {
    margin-right: 8px;
    opacity: 0.7;
}

.faq-tab:hover {
    color: #fff;
}

.faq-tab.active {
    color: var(--tech-primary);
    box-shadow: inset 0 -2px 0 var(--tech-primary);
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

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

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
    transition: background 0.3s ease;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #eee;
    margin: 0;
    font-weight: 500;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-primary);
    transition: all 0.3s ease;
    margin-left: 15px;
    cursor: pointer;
}

.faq-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: rgba(0, 200, 255, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0 20px;
    box-sizing: border-box;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
}

.faq-answer p {
    color: #bbb;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* CTA 區塊 */
.cta-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
    background: #1a1a1a;
    color: white;
    margin-top: 60px;
}

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

.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 245, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 212, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(0, 245, 212, 0.5);
    border-radius: 50%;
    animation: float 8s infinite;
    filter: blur(1px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0.8;
    }
    75% {
        opacity: 0.5;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.glitch-text {
    font-size: 2.5rem;
    margin: 0;
    position: relative;
    color: #fff;
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
            -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.typewriter-text {
    font-size: 1.2rem;
    margin: 20px 0;
    min-height: 1.2em;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #00f5d4;
    color: #00f5d4;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    margin-top: 20px;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 245, 212, 0.2);
    transition: all 0.3s ease;
    z-index: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3);
}

.cta-button:hover:before {
    width: 100%;
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-arrow {
    margin-left: 10px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

/* 響應式調整 */
@media (max-width: 1200px) {
    .about-container,
    .values-container,
    .services-container,
    .story-container,
    .faq-container {
        max-width: 100%;
        padding: 40px 20px;
    }
}

@media (max-width: 991px) {
    .banner-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .values-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-item {
        padding: 15px;
    }
    
    .vision-statement {
        padding: 25px;
    }
    
    .vision-text h3 {
        font-size: 1.3rem;
    }
    
    .vision-text p {
        font-size: 1rem;
    }
    
    .story-card {
        padding: 30px;
    }
    
    .story-card .card-content p {
        font-size: 1rem;
    }
    
    .glitch-text {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .banner-section {
        height: 300px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .company-info-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-statement {
        flex-direction: column;
    }
    
    .vision-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vision-section,
    .values-section,
    .services-section,
    .story-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .header-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .faq-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .faq-tab {
        width: 100%;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .intro-vision-wrapper {
        padding: 25px;
    }
    
    .story-card {
        padding: 25px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .glitch-text {
        font-size: 1.6rem;
    }
    
    .typewriter-text {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* 卡片裝飾區域樣式 */
.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    transition: transform 0.5s ease;
}

.decoration-circle.circle1 {
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: var(--tech-primary);
}

.decoration-circle.circle2 {
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--tech-secondary);
}

.decoration-circuit {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 40%;
    height: 60%;
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--tech-primary) 1px, transparent 1px),
                      radial-gradient(circle, var(--tech-primary) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    transition: transform 0.5s ease;
}

/* AOS 動畫自定義 */
[data-aos="flip-up"] {
    transform: perspective(2500px) rotateX(-90deg);
    transition-property: transform, opacity;
}

[data-aos="flip-up"].aos-animate {
    transform: perspective(2500px) rotateX(0);
}

[data-aos="zoom-out-up"] {
    transform: scale(1.2) translateY(50px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="zoom-out-up"].aos-animate {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 滾動淡入效果 */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* 自定義動畫 */
@keyframes float-vertical {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
    }
}

@keyframes tech-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 響應式調整 */
@media (max-width: 1200px) {
    .values-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 767px) {
    .story-image {
        height: 200px;
    }
    
    .typed-text {
        font-size: 0.95rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .faq-tab {
        padding: 10px 15px;
    }
    
    .faq-toggle {
        width: 20px;
        height: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
} 