:root {
    /* 主要顏色 */
    --primary-color: #a96ca3;
    --secondary-color: #86868b;
    --text-color: #333;
    --text-light: #555;
    --white-color: #fff;
    
    /* 背景顏色 */
    --background-color: #fff;
    --background-light: #f5f5f7;
    --card-background: #ffffff;
    --navbar-background: rgba(255, 255, 255, 0.9);
    
    /* 漸變色 */
    --gradient-primary: linear-gradient(45deg, #6c4862, #b47eaf);
    --gradient-primary-reverse: linear-gradient(45deg, #b47eaf, #6c4862);
    --gradient-gallery: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    
    /* 陰影 */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.1);
    --shadow-btn: 0 5px 15px rgba(255, 126, 95, 0.3);
    --shadow-btn-hover: 0 8px 25px rgba(255, 126, 95, 0.5);
    --shadow-btn-active: 0 2px 10px rgba(255, 126, 95, 0.4);
    
    /* 按鈕顏色 */
    --button-blue: #8f5d8a;
    --button-blue-hover: #a96ca3;
    
    /* 邊框顏色 */
    --border-light: #eee;
    --border-input: #ddd;
    
    /* 游標顏色 */
    --cursor-color: rgba(100, 100, 100, 0.8);
    --cursor-follower-color: rgba(200, 200, 200, 0.4);
    --cursor-hover-color: rgba(0, 0, 0, 0.7);
    
    /* 滾動按鈕 */
    --scroll-btn-bg: rgba(0, 0, 0, 0.8);
    --scroll-btn-hover: rgba(0, 0, 0, 0.9);
    
    /* 其他設定 */
    --section-padding: 80px 20px;
    --border-radius: 20px;
    --border-radius-lg: 30px;
    --border-radius-sm: 15px;
    --border-radius-circle: 50%;
}

::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    scrollbar-width: none;
}

html {
    scroll-behavior: smooth;
}
.instructor-profile,
.form-container,
.contact-info,
.gallery-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.instructor-profile::-webkit-scrollbar,
.form-container::-webkit-scrollbar,
.contact-info::-webkit-scrollbar,
.gallery-grid::-webkit-scrollbar {
    display: none;
}
   
body {
    -ms-overflow-style: none; 
    scrollbar-width: none;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    cursor: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 30px; /* 從 20px 40px 縮短為 10px 30px */
    background: var(--navbar-background);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.nav-logo {
    font-size: 1.3rem; /* 從 1.5rem 縮小為 1.3rem */
    font-weight: 500;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.nav-logo i {
    font-size: 1.5rem; 
    margin-right: 8px;
}

.nav-links a {
    margin-left: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem; 
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px;
    gap: 60px;
}

.hero-content {
    flex: 1;
    margin-left: 10%;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.cta-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    max-width: 120px; /* 從原來的 400px 減小 */
}

.cta-button {
    padding: 8px 12px; /* 減小內邊距 */
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-btn);
    z-index: 1;
    text-align: center;
    display: block;
    width: auto;
    min-width: 110px; /* 稍微減小最小寬度 */
    margin: 0 auto;
}

/* 添加自定義漸變顏色的支持 */
.cta-button[data-gradient] {
    background: var(--button-gradient, var(--gradient-primary));
    color: var(--white-color);
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-btn-hover);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-btn-active);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: var(--border-radius-lg);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    box-shadow: var(--shadow-md);
}

.features {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

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

.feature-card {
    background: var(--card-background);
    padding: 35px 30px; 
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    padding-top: 200px;
    overflow: visible;
}

.feature-icon {
    width: 300px;
    height: 260px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    position: absolute; 
    top: -45px;
    left: 50%; 
    transform: translateX(-50%);
}

.feature-card:hover .feature-icon {
    transform: translateX(-50%) scale(1.01);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 600;
    width: 100%;
    margin-top: -20px; /* 向上移動標題 */
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}
.course {
    padding: var(--section-padding);
}

.journey-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.instructor-profile {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 300px;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.instructor-profile::-webkit-scrollbar {
    display: none;
}

.course-journey-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    scroll-snap-align: start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 450px;
}

.course-journey-card:hover {
    background: #ebebeb;
    transform: scale(1.02);
}

.course-journey-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.course-journey-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.course-journey-card p {
    font-size: 16px;
    color: var(--secondary-color);
    line-height: 1.5;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--border-radius-circle);
    background: var(--scroll-btn-bg);
    color: var(--white-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.scroll-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: var(--scroll-btn-hover);
    opacity: 1;
}

.scroll-btn i {
    font-size: 18px;
}

.course-timeline {
    max-width: 800px;
    margin: 60px auto 0;
}

.gallery {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--white-color);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.7;
}

.gallery-content {
    position: relative;
    z-index: 2;
    padding: 10px; 
    background: var(--gradient-gallery);
}

.gallery-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-item p {
    font-size: 16px;
    margin-bottom: 20px;
}

.gallery-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--button-blue);
    color: var(--white-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background-color: var(--button-blue-hover);
    transform: scale(1.05);
}

.pricing {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.price-card {
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 更平滑的彈性過渡 */
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

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

.price-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price-card .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--button-blue);
    margin-bottom: 30px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--secondary-color);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-btn {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    padding: 15px 40px;
    border-radius: var(--border-radius-lg);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.price-card.featured {
    border: 2px solid var(--button-blue);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
}
.faq {
    padding: var(--section-padding);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-background);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease; /* 更長的過渡時間 */
}
.faq-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}
.contact {
    padding: var(--section-padding);
    background-color: var(--background-light);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-input);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}
.footer {
    padding: 40px;
    background: var(--text-color);
    color: var(--white-color);
    text-align: center;
}
.social-links a {
    color: var(--white-color);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .nav-links {
        display: none;
    }
    .section-title {
        font-size: 2rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        padding: 35px 20px;
        padding-top: 200px;
        margin-top: 80px;
    }
    .feature-icon {
        width: 240px;
        height: 220px;
        top: -60px;
    }
    .journey-container {
        padding: 0 20px;
    }
    .course-journey-card {
        padding: 20px;
    }
    .scroll-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-image {
        margin-top: 20px;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
        padding-top: 180px;
        margin-top: 70px;
    }
    
    .feature-icon {
        width: 200px;
        height: 180px;
        top: -50px;
    }
    
    .feature-card h3 {
        margin-top: -10px;
        font-size: 1.3rem;
    }

    .course-journey-card {
        padding: 20px;
    }

    .course-journey-card h3 {
        font-size: 20px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .scroll-btn {
        width: 36px;
        height: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 300px;
    }

    .footer {
        padding: 20px;
    }

    .cta-buttons-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-image {
        margin-top: 20px;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
        padding-top: 180px;
        margin-top: 70px;
    }
    
    .feature-icon {
        width: 200px;
        height: 180px;
        top: -50px;
    }
    
    .feature-card h3 {
        margin-top: -10px;
        font-size: 1.3rem;
    }

    .course-journey-card {
        padding: 20px;
    }

    .course-journey-card h3 {
        font-size: 20px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .scroll-btn {
        width: 36px;
        height: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 300px;
    }

    .footer {
        padding: 20px;
    }

    .cta-buttons-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
        margin: 0 auto;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 480px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

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

    .nav-links a {
        margin: 15px 0;
        font-size: 1.2rem;
    }

    .navbar {
        padding: 15px 20px;
    }
}


/* 自定義游標樣式 */
body {
    cursor: none;
}

.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: var(--cursor-color);
    border-radius: var(--border-radius-circle);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.2s ease, transform 0.3s ease; /* 更精確的過渡屬性 */
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    background-color: var(--cursor-follower-color);
    border-radius: var(--border-radius-circle);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: width 0.5s ease, height 0.5s ease, background-color 0.3s ease, transform 0.3s ease; /* 更精確的過渡屬性 */
}

.cursor.hide {
    width: 0;
    height: 0;
    transform: translate(-50%, -50%) scale(0);
}

.cursor-follower.hide {
    width: 0;
    height: 0;
    transform: translate(-50%, -50%) scale(0);
}

a, button, .gallery-item, .feature-card, .course-journey-card, .price-card {
    cursor: none;
}

a:hover ~ .cursor,
button:hover ~ .cursor,
.gallery-item:hover ~ .cursor,
.feature-card:hover ~ .cursor,
.course-journey-card:hover ~ .cursor,
.price-card:hover ~ .cursor {
    width: 18px;
    height: 18px;
    background-color: var(--cursor-hover-color);
}

.gradient-text {
    background: var(--gradient-primary);
    background-size: 160% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 1s ease infinite;
    display: inline-block;
}

.about-gradient-text {
    background: linear-gradient(45deg, #e39bd2, #93648e);
    background-size: 180% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 1.8s ease infinite;   
    display: inline-block;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.form-container {
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: 424px;
}

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

/* 添加全局動畫效果 */
button, a, .cta-button, .gallery-btn, .price-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links a, .social-links a {
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover, .social-links a:hover {
    transform: translateY(-2px);
}

.feature-card, .price-card, .gallery-item, .faq-item, .timeline-item {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background-color 0.3s ease;
}

a {
    text-decoration: none;
}

.cta-button, 
.gallery-btn, 
.price-btn,
.nav-links a,
.social-links a {
    text-decoration: none;
}

/* 關於我們頁面樣式 */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
    background: var(--gradient-primary);
    text-align: center;
    color: var(--white-color);
}

.about-hero-content {
    max-width: 800px;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.about-content, .values-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 10px;
}

.about-image, .values-image {
    flex: 1;
}

.values-image {
    flex: 1;
    display: flex;
    align-items: center;
    max-height: 340px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-text, .values-text {
    flex: 1;
}

.values-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image img, .member-photo img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
    animation: glowingBorder 6s ease-in-out infinite;
}

@keyframes glowingBorder {
    0% {
        box-shadow: var(--shadow-md), 
                   inset 0 0 10px #f98537,
                   0 0 15px #ff5e5e,
                   inset 0 0 20px rgba(249, 133, 55, 0.5);
    }
    20% {
        box-shadow: var(--shadow-md), 
                   inset 0 0 15px #ff7b7b,
                   0 0 20px #ff9191,
                   inset 0 0 25px rgba(255, 123, 123, 0.5);
    }
    40% {
        box-shadow: var(--shadow-md), 
                   inset 0 0 20px #b085ff,
                   0 0 25px #9c66ff,
                   inset 0 0 30px rgba(176, 133, 255, 0.5);
    }
    60% {
        box-shadow: var(--shadow-md), 
                   inset 0 0 15px #7b00ff,
                   0 0 20px #8f2fff,
                   inset 0 0 25px rgba(123, 0, 255, 0.5);
    }
    80% {
        box-shadow: var(--shadow-md), 
                   inset 0 0 10px #40cdf4,
                   0 0 15px #2692ff,
                   inset 0 0 20px rgba(64, 205, 244, 0.5);
    }
    100% {
        box-shadow: var(--shadow-md), 
                   inset 0 0 10px #f98537,
                   0 0 15px #ff5e5e,
                   inset 0 0 20px rgba(249, 133, 55, 0.5);
    }
}

.about-text p, .values-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.about-mission {
    background-color: var(--background-light);
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
}

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

.mission-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mission-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
}

.mission-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: var(--card-background);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.value-item {
    margin-bottom: 25px;
}

.value-item h3 {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.value-item h3 i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-cta {
    background: var(--gradient-primary);
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.about-cta-buttons .cta-button {
    min-width: 150px;
}

/* 響應式設計 */
@media (max-width: 992px) {
    .about-content, .values-content {
        flex-direction: column;
    }
    
    .mission-cards, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mission-cards, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.2rem;
    }
    
    .about-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 30px;
    color: var(--white-color);
}

.value-card {
    background: var(--card-background);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    height: 350px; /* 固定高度 */
    width: 100%; /* 確保寬度填滿網格空間 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    /* 確保文字過長時不會破壞布局 */
    overflow-y: auto;
    flex-grow: 1;
    width: 100%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 確保列寬一致 */
    gap: 30px;
    margin-top: 40px;
}