/* 全局樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft JhengHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 80vw;
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 導航欄樣式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    gap: 0.5rem;
}

.logo {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    height: 56px;
}

.logo-img {
    width: 60px;
    height: 100%;
    max-height: 56px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    height: 100%;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo-sub {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links li {
    margin-left: 1.2rem;
    white-space: nowrap;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-links a i {
    font-size: 1.2rem;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover i {
    color: #007bff;
}

/* 下拉選單樣式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateX(3px);
    border-radius: 4px;
    margin: 0 5px;
}

/* 響應式下拉選單 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0;
        margin-left: 20px;
        margin-top: 10px;
    }
    
    .dropdown-menu li {
        margin: 0.5rem 0;
    }
    
    .dropdown-menu a {
        padding: 5px 0;
        font-size: 0.9rem;
        color: #666;
    }
    
    .dropdown-menu a:hover {
        background: transparent;
        color: #007bff;
        transform: none;
    }
    
    .dropdown-toggle i {
        transform: none;
    }
    
    .dropdown:hover .dropdown-toggle i {
        transform: none;
    }
}

/* RWD 樣式 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(255,255,255,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* 首頁橫幅樣式 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

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

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* 關於我們樣式 */
.about {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.feature i {
    color: #007bff;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 產品套件樣式 */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.products h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.product-content {
    padding: 30px;
    color: #333;
}

.product-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
}

.product-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.product-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.product-section h4 i {
    color: #007bff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.feature-item i {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.feature-item span {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* 產品比較表格樣式 */
.comparison-table {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    color: #333;
    text-align: center;
    border-right: 1px solid #e9ecef;
}

.comparison-header:last-child {
    border-right: none;
}

.comparison-cell {
    padding: 12px 15px;
    border-right: 1px solid #e9ecef;
    font-size: 0.9rem;
    line-height: 1.4;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-cell.pros {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.comparison-cell.cons {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

/* API 文檔樣式 */
.api-example {
    background: #2d3748;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #4a5568;
    color: white;
    font-size: 0.9rem;
}

.copy-btn {
    background: transparent;
    border: 1px solid #718096;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background: #718096;
}

.code-block {
    margin: 0;
    padding: 20px;
    background: #2d3748;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

.code-block code {
    color: #e2e8f0;
}

/* 新增按鈕樣式 */
.btn-tertiary {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-tertiary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* 原廠連結樣式 */
.official-link {
    margin: 20px 0;
    text-align: center;
}

.official-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, #17a2b8, #20c997);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.official-btn:hover {
    background: linear-gradient(45deg, #138496, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    color: white;
    text-decoration: none;
}

.official-btn i {
    font-size: 0.8rem;
}

/* 功能模組樣式 */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.module-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.module-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}

.module-item h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.module-item h5 i {
    color: #007bff;
    font-size: 1.2rem;
}

.module-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-item li {
    padding: 5px 0;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    padding-left: 15px;
}

.module-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

@media (max-width: 768px) {
    .module-grid {
        grid-template-columns: 1fr;
    }
    
    .module-item {
        padding: 15px;
    }
}

/* 應用場景樣式 */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.scenario-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}

.scenario-item h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.scenario-item h5 i {
    color: #007bff;
    font-size: 1.2rem;
}

.scenario-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scenario-item li {
    padding: 5px 0;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    padding-left: 15px;
}

.scenario-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* 技術優勢樣式 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}

.advantage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.advantage-content h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.advantage-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-icon {
        margin: 0 auto 10px auto;
    }
}

.product-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .products h2 {
        font-size: 2rem;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .product-cta {
        flex-direction: column;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        border-bottom: 2px solid #e9ecef;
    }
    
    .comparison-header {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .comparison-cell {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .comparison-cell:last-child {
        border-bottom: none;
    }
    
    .product-section {
        padding: 15px;
    }
    
    .code-block {
        font-size: 0.8rem;
        padding: 15px;
    }
}

/* 服務介紹樣式 */
.services {
    padding: 5rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.service-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin: 1rem 0;
}

.service-card h3 {
    margin: 1rem 0;
    color: #333;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* 聯絡表單樣式 */
.contact {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info p {
    margin: 1rem 0;
}

.contact-info i {
    margin-right: 0.5rem;
    color: #007bff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

.submit-button {
    padding: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* 頁尾樣式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.social-links a {
    color: #fff;
    margin-left: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-info h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-info .logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-info .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-info .logo-main {
    color: #fff;
    font-size: 1.3rem;
}

.footer-info .logo-sub {
    color: #ccc;
    font-size: 0.8rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* 客戶案例樣式 */
.clients {
    padding: 5rem 0;
    background-color: #fff;
}

.clients h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.client-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.client-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-info {
    padding: 1.5rem;
}

.client-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.client-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.client-info .client-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #777;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

/* 團隊介紹樣式 */
.team {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.member-image {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.member-info .position {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-info .description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 技術專長樣式 */
.tech {
    padding: 5rem 0;
    background-color: #fff;
}

.tech h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: transform 0.3s;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tech-category h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.tech-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-item {
    color: #666;
    margin: 1rem 0;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-item i {
    color: #007bff;
    font-size: 1.1rem;
}

.tech-item:hover {
    background-color: #e9ecef;
    color: #333;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-category {
        margin-bottom: 1rem;
    }
}

/* CAREY Spirits 區塊自訂樣式 */
.carey-qualities {
    margin-top: 3rem;
    background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
    text-align: center;
    position: relative;
}

.carey-qualities h3 {
    font-size: 2.5rem;
    letter-spacing: 6px;
    color: #007bff;
    margin-bottom: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #007bff 0%, #28a745 50%, #e83e8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 4px 24px rgba(0,123,255,0.18);
    border-bottom: 4px solid #007bff;
    display: inline-block;
    padding: 0.2em 1.5em 0.3em 1.5em;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 6px 24px rgba(0,123,255,0.15);
}

.carey-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: nowrap;
    padding: 0 0.5rem;
}

.carey-item {
    flex: 1;
    min-width: 90px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    background: #fff;
    border-radius: 12px;
    padding: 0.7rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,123,255,0.1);
}

.carey-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.2);
    border-color: rgba(0,123,255,0.3);
}

.carey-letter {
    font-size: 1.8rem;
    font-weight: 900;
    margin-right: 0.3rem;
    letter-spacing: 1px;
}

.carey-c { color: #007bff; }
.carey-a { color: #28a745; }
.carey-r { color: #fd7e14; }
.carey-e { color: #17a2b8; }
.carey-y { color: #e83e8c; }

.carey-word {
    font-weight: 700;
    color: #222;
    margin-right: 0.3rem;
}

.carey-desc {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.3rem;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .carey-list {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .carey-item {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .carey-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .carey-item {
        flex: 0 0 100%;
    }
    
    .carey-qualities h3 {
        font-size: 2rem;
        letter-spacing: 4px;
    }
}

/* CAREY Spirits 兩排排版 */
.carey-list-2row {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.2rem 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.carey-list-2row .carey-item {
    flex: 0 0 calc(33% - 2rem);
}
.carey-list-2row .carey-item:nth-child(4),
.carey-list-2row .carey-item:nth-child(5) {
    flex: 0 0 calc(50% - 2rem);
}
@media (max-width: 900px) {
    .carey-list-2row .carey-item {
        flex: 0 0 48%;
    }
}
@media (max-width: 600px) {
    .carey-list-2row .carey-item {
        flex: 0 0 100%;
    }
    .carey-list-2row {
        gap: 0.7rem;
    }
} 

.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    font-size: 1rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

.lang-switch .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-switch .dropdown-toggle:hover {
    background: #f8f9fa;
    color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.lang-switch .dropdown-toggle i.fa-globe {
    font-size: 1.1rem;
    color: #007bff;
}

.lang-switch .dropdown-toggle span {
    font-weight: 500;
    margin: 0 4px;
}

.lang-switch .dropdown-toggle i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.lang-switch:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-switch .dropdown-menu {
    min-width: 140px;
    right: 0;
    left: auto;
    margin-top: 8px;
}

.lang-switch .dropdown-menu a {
    padding: 10px 16px;
    font-size: 0.95rem;
    border-radius: 0;
    margin: 0;
}

.lang-switch .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateX(3px);
    border-radius: 4px;
    margin: 0 5px;
} 