/* CSS Variables */
:root {
    --primary-color: #FF6B35;
    --primary-light: #FF8A65;
    --primary-dark: #E55A2B;
    --secondary-color: #4ECDC4;
    --secondary-light: #6EDDD6;
    --secondary-dark: #3DB8B0;
    --accent-color: #FFD93D;
    --accent-light: #FFE066;
    --text-primary: #2C3E50;
    --text-secondary: #5D6D7E;
    --text-light: #85929E;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #E8F4FD;
    --bg-dark: #2C3E50;
    --border-color: #E9ECEF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition-normal: all 0.3s ease;
    --radius-medium: 12px;
    --radius-full: 50px;
}

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

html {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Nunito', 'Poppins', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Typography */
.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Language Button */
.language-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
    margin-left: 10px;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-image {
    width: 57px;
    height: 57px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--text-primary);
}

.logo-sub {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-top: -2px;
}

nav {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 999;
}

/* 確保桌面版導航選單正常顯示 */
@media (min-width: 769px) {
    nav {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        transform: none !important;
        overflow: visible !important;
    }
    
    nav ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 30px !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    nav ul li {
        opacity: 1 !important;
        transform: none !important;
        width: auto !important;
        text-align: left !important;
        border-bottom: none !important;
        overflow: visible !important;
    }
    
    nav ul li a {
        padding: 0.5rem 1rem !important;
        min-height: auto !important;
        width: auto !important;
        text-align: center !important;
        overflow: visible !important;
    }
    
    nav ul li a.btn {
        margin: 0 !important;
        border-radius: var(--radius-full) !important;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
        color: white !important;
        box-shadow: var(--shadow-light) !important;
        position: relative !important;
        z-index: 1 !important;
        text-decoration: none !important;
    }
    
    nav ul li a.language-btn {
        background: transparent !important;
        border: 2px solid var(--primary-color) !important;
        color: var(--primary-color) !important;
        margin: 0 0 0 10px !important;
        position: relative !important;
        z-index: 1 !important;
        text-decoration: none !important;
        overflow: visible !important;
        transition: all 0.3s ease !important;
    }
    
    nav ul li a.language-btn:hover {
        background: var(--primary-color) !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3) !important;
        text-decoration: none !important;
    }
    
    nav ul li a.language-btn::before {
        display: none !important;
    }
    
    nav ul li a.language-btn:hover::before {
        display: none !important;
    }
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
}

nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    border-radius: 1px;
    z-index: 1;
}

nav a:hover::after {
    width: 100%;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
    z-index: 1;
}

/* Mobile Menu Button - 已移至下方統一樣式 */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    margin-top: 20px;
    width: 100%;
    max-width: 100vw;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    overflow-x: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.85) 0%, 
        rgba(78, 205, 196, 0.7) 50%, 
        rgba(44, 62, 80, 0.8) 100%);
    z-index: -1;
    overflow: hidden;
    overflow-x: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 160px 0 80px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow-x: hidden;
}

.hero-text {
    color: white;
    width: 100%;
    overflow: hidden;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.cta-button {
    font-size: 1.1rem;
    padding: 20px 40px;
    white-space: normal;
    min-width: fit-content;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    overflow-x: hidden;
}

.hero-illustration {
    position: relative;
    width: 500px;
    height: 500px;
    overflow: hidden;
    overflow-x: hidden;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    overflow: hidden;
    overflow-x: hidden;
}

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

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    max-width: calc(100% - 10px);
}

.card-2 {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
    max-width: calc(100% - 10px);
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
    max-width: calc(100% - 30px);
}

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

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

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text {
    color: var(--text-primary);
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.team-photo {
    position: relative;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.team-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px 20px 20px;
    color: white;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.overlay-content i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.team-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-medium);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

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

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

/* Core Values Section */
.core-values {
    padding: 100px 0;
    background: var(--bg-primary);
}

.core-values .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.core-values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.core-value-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.core-value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

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

.core-value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-size: 1.8rem;
    transition: var(--transition-normal);
}

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

.core-value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.core-value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: var(--radius-medium);
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-normal);
}

.accordion-item:hover {
    box-shadow: var(--shadow-medium);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.accordion-header:hover {
    background: var(--bg-tertiary);
}

.accordion-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
}

.emoji {
    font-size: 2rem;
}

.accordion-title {
    flex: 1;
}

.accordion-title h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
}

.accordion-title p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.accordion-toggle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 1000px;
}

.service-list {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-medium);
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-item span {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-primary);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-medium);
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    position: relative;
    text-align: center;
}

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

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

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

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
}

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

.card-header p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.card-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    color: var(--primary-color);
}

.feature-item span {
    font-weight: 500;
}

.card-action {
    margin-top: auto;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-visual {
    order: -1;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.contact-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(78, 205, 196, 0.8));
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.contact-visual:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.overlay-content span {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
    position: relative;
}

.contact-methods::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.method-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.method-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.method-info p {
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    word-break: break-word;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-medium);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

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



.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #BDC3C7;
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info {
    color: #BDC3C7;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--accent-color);
}

/* Line ID链接样式 */
.line-link {
    color: #007AFF !important;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
}

.line-link:hover {
    color: #0056CC !important;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #BDC3C7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        overflow-x: hidden;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 150px 0 80px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .cta-button {
        white-space: normal;
        padding: 18px 32px;
        font-size: 1rem;
        flex-direction: row;
        gap: 10px;
        text-align: center;
    }

    .floating-card {
        max-width: 140px;
        padding: 1.2rem;
        font-size: 0.9rem;
    }

    .floating-card span {
        font-size: 0.8rem;
    }

    .hero-illustration {
        width: 400px;
        height: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .section-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .contact-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .team-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .core-values-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* 確保導航按鈕在中等螢幕尺寸時正確顯示 */
    nav ul li a.btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: var(--radius-full);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-light);
    }

    nav ul li a.language-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: var(--radius-full);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        border: 2px solid var(--secondary-color);
        background: transparent;
        color: var(--secondary-color);
        cursor: pointer;
        transition: var(--transition-normal);
    }
}

@media (max-width: 900px) {
    .hero {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        overflow-x: hidden;
    }
    
    .hero-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .cta-button {
        white-space: normal;
        padding: 16px 28px;
        font-size: 0.95rem;
        flex-direction: row;
        gap: 8px;
        text-align: center;
    }

    .floating-card {
        max-width: 130px;
        padding: 1.1rem;
        font-size: 0.85rem;
    }

    .floating-card span {
        font-size: 0.75rem;
    }

    .hero-illustration {
        width: 350px;
        height: 350px;
    }
    
    /* 確保導航按鈕在接近漢堡菜單出現前正確顯示 */
    nav ul li a.btn {
        display: inline-flex;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    nav ul li a.language-btn {
        display: inline-flex;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* 在900px以下調整core values布局 */
    .core-values-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .team-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 800px) {
    .hero {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        overflow-x: hidden;
    }
    
    .hero-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .cta-button {
        white-space: normal;
        padding: 15px 26px;
        font-size: 0.9rem;
        flex-direction: row;
        gap: 8px;
        text-align: center;
    }

    .floating-card {
        max-width: 120px;
        padding: 1rem;
        font-size: 0.8rem;
    }

    .floating-card span {
        font-size: 0.7rem;
    }

    .hero-illustration {
        width: 320px;
        height: 320px;
    }
    
    /* 確保導航按鈕在非常接近漢堡菜單出現前正確顯示 */
    nav ul li a.btn {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    nav ul li a.language-btn {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* 在800px以下調整core values布局 */
    .core-values-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .team-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}



@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .section-title {
        font-size: 1.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        line-height: 1.3;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .hero-content {
        padding: 130px 0 60px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        overflow-x: hidden;
    }

    .hero-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .cta-button {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
        white-space: normal;
        padding: 14px 20px;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .floating-card {
        max-width: 120px;
        padding: 1rem;
        font-size: 0.8rem;
    }

    .floating-card span {
        font-size: 0.7rem;
    }

    .about,
    .services,
    .pricing,
    .contact {
        padding: 60px 0;
        overflow-x: hidden;
    }

    .contact {
        padding: 40px 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-section:nth-child(1),
    .footer-section:nth-child(4) {
        grid-column: 1;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .contact-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .contact-image {
        max-width: 100%;
    }

    .contact-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
        line-height: 1.6;
        font-size: 1rem;
    }

    .contact-methods {
        gap: 20px;
        margin-top: 30px;
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    /* Logo 在更小螢幕下的樣式調整 */
    .logo-image {
        width: 45px;
        height: 45px;
    }

    .logo-main {
        font-size: 1.6rem;
    }

    .logo-sub {
        font-size: 0.8rem;
    }

    /* 確保header容器在更小螢幕下有足夠空間 */
    .header-container {
        padding: 12px 15px;
    }


    


    /* Logo 移動端樣式調整 */
    .logo-image {
        width: 50px;
        height: 50px;
    }

    .logo-main {
        font-size: 1.8rem;
    }

    .logo-sub {
        font-size: 0.9rem;
    }

    /* 確保header容器在移動端有足夠空間 */
    .header-container {
        padding: 15px 20px;
    }
}

/* 移動端樣式 - 768px以下 */
@media (max-width: 768px) {

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        pointer-events: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    nav.active {
        right: 0;
        pointer-events: auto;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        list-style: none;
        margin: 0;
        padding: 2rem;
        width: 100%;
        max-width: 400px;
        pointer-events: auto;
        z-index: 1002;
    }

    nav ul li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 0;
        padding: 0;
        display: block;
        position: relative;
        width: 100%;
        text-align: center;
        min-height: 60px;
        cursor: pointer;
        pointer-events: auto;
    }

    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: auto;
    }

    nav ul li:last-child {
        margin-top: 1rem;
    }

    nav ul li a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        padding: 1.5rem 2rem;
        border-radius: var(--radius-medium);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        min-height: 60px;
        line-height: 1.2;
        touch-action: manipulation;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        pointer-events: auto;
        z-index: 1003;
    }

    nav ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
        transition: var(--transition-normal);
    }

    nav ul li a:hover::before {
        left: 100%;
    }

    nav ul li a:hover,
    nav ul li a:active,
    nav ul li a:focus {
        background: rgba(102, 126, 234, 0.1);
        transform: translateX(10px);
        outline: none;
    }

    /* 特殊按鈕樣式 */
    nav ul li a.btn {
        margin: 1rem 2rem;
        border-radius: 25px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        position: relative;
        z-index: 1;
        text-decoration: none;
    }

    nav ul li a.btn:hover,
    nav ul li a.btn:active,
    nav ul li a.btn:focus {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        outline: none;
    }

    nav ul li a.btn::before {
        display: none;
    }

    /* 語言切換按鈕 */
    nav ul li a.language-btn {
        background: transparent;
        border: 2px solid #667eea;
        color: #667eea;
        margin: 1rem 2rem;
        position: relative;
        z-index: 1;
        text-decoration: none;
    }

    nav ul li a.language-btn:hover,
    nav ul li a.language-btn:active,
    nav ul li a.language-btn:focus {
        background: #667eea;
        color: white;
        text-decoration: none;
        outline: none;
    }

    /* 菜單項目動畫 */
    nav ul li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 0;
        padding: 0;
        display: block;
        position: relative;
        width: 100%;
        text-align: center;
        overflow: hidden;
        pointer-events: auto;
    }

    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
        overflow: visible;
        pointer-events: auto;
    }

    nav.active ul li:nth-child(1) { transition-delay: 0.05s; }
    nav.active ul li:nth-child(2) { transition-delay: 0.1s; }
    nav.active ul li:nth-child(3) { transition-delay: 0.15s; }
    nav.active ul li:nth-child(4) { transition-delay: 0.2s; }
    nav.active ul li:nth-child(5) { transition-delay: 0.25s; }
    nav.active ul li:nth-child(6) { transition-delay: 0.3s; }
    nav.active ul li:nth-child(7) { transition-delay: 0.35s; }

    /* 菜單背景遮罩 */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        pointer-events: none;
        backdrop-filter: blur(1px);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        backdrop-filter: blur(1px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Logo 移動端樣式調整 */
    .logo-image {
        width: 50px;
        height: 50px;
    }

    .logo-main {
        font-size: 1.8rem;
    }

    .logo-sub {
        font-size: 0.9rem;
    }

    /* 確保header容器在移動端有足夠空間 */
    .header-container {
        padding: 15px 20px;
    }

    /* 其他移動端樣式 */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 120px 0 60px;
    }

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

    .hero-illustration {
        width: 300px;
        height: 300px;
    }

    .floating-card {
        max-width: 100px;
        padding: 0.8rem;
        font-size: 0.7rem;
    }

    .floating-card span {
        font-size: 0.6rem;
    }

    .team-features {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        text-align: center;
    }

    .footer-section:nth-child(1) {
        grid-column: 1 / -1;
    }

    .footer-section:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* Core Values 移動端樣式 - 一張一列布局 */
    .core-values-list {
        grid-template-columns: 1fr !important;
        gap: 25px;
        max-width: 100%;
        padding: 0 15px;
    }

    .core-value-card {
        padding: 30px 25px;
    }

    .core-value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .core-value-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .core-value-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* 確保手機模式下core values和team features都是一張一列布局 */
    .core-values-list,
    .team-features {
        grid-template-columns: 1fr !important;
    }
} 

/* Header Background */
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80') center center/cover no-repeat;
    filter: blur(3px) brightness(0.9) saturate(1.2);
    animation: headerBgFloat 20s ease-in-out infinite;
}

.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80') center center/cover no-repeat;
    filter: blur(3px) brightness(0.9) saturate(1.2);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: headerBgFloat 20s ease-in-out infinite;
}

@keyframes headerBgFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.header-bg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.05) 0%, 
        rgba(78, 205, 196, 0.05) 50%, 
        rgba(255, 107, 53, 0.05) 100%);
    z-index: 0;
    opacity: 0.6;
    animation: headerBgFloat 20s ease-in-out infinite;
}

.header-bg-fallback.active {
    opacity: 0.8;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.85) 0%, 
        rgba(255, 255, 255, 0.75) 50%, 
        rgba(255, 255, 255, 0.6) 100%);
}

/* 其他重要樣式 */
.logo-image {
    transition: var(--transition-normal);
}

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

.language-btn {
    position: relative;
    overflow: hidden;
}

.language-btn::before {
    display: none;
}

.language-btn:hover::before {
    display: none;
}

.language-btn:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-normal);
    z-index: 1000;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* Enhanced Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
    transition: var(--transition-normal);
    border-radius: 8px;
    position: relative;
}

.mobile-menu-btn:hover {
    background: rgba(255, 107, 53, 0.1);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-normal);
        z-index: 1001;
        pointer-events: none;
    }

    nav.active {
        right: 0;
        pointer-events: auto;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        list-style: none;
        margin: 0;
        padding: 0;
        pointer-events: auto;
        z-index: 1002;
    }

    nav ul li {
        opacity: 0;
        transform: translateY(20px);
        transition: var(--transition-normal);
        margin: 0;
        padding: 0;
        display: block;
        position: relative;
        pointer-events: auto;
    }

    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav ul li:last-child {
        margin-top: 1rem;
    }

    nav ul li a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        transition: var(--transition-normal);
        padding: 1rem 2rem;
        border-radius: var(--radius-medium);
        display: block;
        pointer-events: auto;
        z-index: 1003;
    }

    nav ul li a:hover {
        background: rgba(255, 107, 53, 0.1);
        color: var(--primary-color);
        transform: translateY(-2px);
    }
} 