:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Microsoft JhengHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 導航欄樣式 */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* 英雄區塊樣式 */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    text-align: center;
    color: white;
    position: relative;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button, .plan-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.cta-button:hover, .plan-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.cta-button::after, .plan-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cta-button:hover::after, .plan-button:hover::after {
    left: 100%;
}

/* 平滑滾動 */
html {
    scroll-behavior: smooth;
}

/* 錨點位置調整（防止固定導航欄遮擋內容） */
#features, #plans, #contact {
    scroll-margin-top: 80px;
}

/* 更新方案卡片按鈕樣式 */
.plan-card .plan-button {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
}

.plan-card.featured .plan-button {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.plan-card.featured .plan-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* 功能特色區塊 */
.features-section {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 50%;
    line-height: 1;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 更新圖片展示區域樣式 */
.features-showcase {
    margin-top: 4rem;
    padding: 0 1rem;
}

.showcase-grid {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-main {
    position: relative;
    aspect-ratio: 1261/676;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.showcase-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.showcase-item.active {
    opacity: 1;
    position: relative;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.thumbnail {
    width: 120px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

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

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .showcase-thumbnails {
        gap: 0.5rem;
    }

    .thumbnail {
        width: 60px;
        height: 32px;
    }

    .showcase-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .hero-section {
        padding: 6rem 0;
        background-attachment: scroll;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }
}

/* 示範網頁按鈕樣式 */
.demo-button-container {
    text-align: center;
    margin-top: 3rem;
}

.demo-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.demo-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.demo-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.arrow-icon {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.3s ease;
}

.demo-button:hover .arrow-icon {
    transform: translateX(3px);
}

/* 方案介紹區塊 */
.plans-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

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

.plan-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.plan-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    margin: 1rem 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* 聯絡表單區塊 */
.contact-section {
    padding: 4rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 400px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info li > div {
    flex: 1;
}

.contact-info strong {
    color: var(--primary-color);
    min-width: 70px;
    display: inline-block;
}

.contact-info a {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

/* LINE ID 複製按鈕和加入好友按鈕 */
.line-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.copy-button, .line-button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-width: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.copy-button i, .line-button i {
    font-size: 14px;
}

.copy-button {
    background-color: #f8f9fa;
    color: var(--text-color);
    border: 1px solid #dee2e6;
}

.copy-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.line-button {
    background-color: #00B900;
    color: white;
}

.line-button:hover {
    background-color: #00a000;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,185,0,0.3);
}

.copy-button svg, .line-button svg {
    width: 16px;
    height: 16px;
}

/* LINE ID 容器樣式更新 */
.line-id-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

#lineId {
    color: var(--text-color);
    font-weight: 500;
    background-color: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* 添加圖標 */
.contact-info li::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.contact-info li.contact-person::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.contact-info li.contact-line::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300B900'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.631 0 .631-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E");
}

.contact-info li.contact-email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.contact-info li.contact-website::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z'/%3E%3C/svg%3E");
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
}

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

.domain-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-group {
    display: grid;
    gap: 0.5rem;
}

.submit-button {
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* 頁尾樣式 */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* 額外優惠區塊樣式 */
.additional-offers {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.group-discount,
.additional-features {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.group-discount:hover,
.additional-features:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.additional-offers h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer-icon {
    font-size: 1.5rem;
    background-color: var(--light-bg);
    padding: 0.5rem;
    border-radius: 50%;
    line-height: 1;
    display: inline-block;
}

.offer-content {
    font-size: 1.1rem;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0 0.3rem;
    display: inline-block;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e74c3c;
    opacity: 0.3;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.price {
    color: #e74c3c;
    font-weight: bold;
}

/* 網站類型比較樣式 */
.comparison-section {
    margin-top: 4rem;
    padding: 2rem 0;
    background-color: var(--light-bg);
}

.comparison-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.comparison-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.comparison-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.comparison-icon {
    font-size: 1.8rem;
    background-color: var(--light-bg);
    padding: 0.5rem;
    border-radius: 50%;
    line-height: 1;
}

.pros-cons {
    display: grid;
    gap: 2rem;
}

.pros h5, .cons h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
}

.pros li, .cons li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
}

.cons li::before {
    content: '!';
    position: absolute;
    left: 0;
    color: #e74c3c;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem;
        padding: 0.8rem;
    }

    .additional-offers {
        grid-template-columns: 1fr;
    }
    
    .feature-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .demo-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .line-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .copy-button, .line-button {
        padding: 0.4rem 0.8rem;
        min-width: 70px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
}

/* 更新團報優惠樣式 */
.group-discount-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.group-discount-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.group-discount-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.group-discount-item h4::before {
    content: '▸';
    color: var(--secondary-color);
}

.group-discount-item p {
    padding-left: 1rem;
    line-height: 1.5;
}

/* LINE ID 相關樣式 */
.contact-line .line-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.line-id-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#lineId {
    color: var(--text-color);
    font-weight: 500;
}

/* 產品規格比較表樣式 */
.spec-table-container {
    overflow-x: auto;
    margin: 0 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.spec-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
}

.spec-table td {
    text-align: center;
}

.spec-table td:first-child {
    text-align: left;
    width: 100px; /* 固定第一欄寬度 */
    font-weight: 500;
    color: var(--primary-color);
    background-color: var(--light-bg);
}

.spec-table td:not(:first-child) {
    width: calc((100% - 100px) / 2); /* 平均分配剩餘寬度 */
}

/* 支援與不支援的樣式 */
.spec-table td:nth-child(2) {
    color: #27ae60; /* 綠色表示支援 */
}

.spec-table td:last-child {
    color: #e74c3c; /* 紅色表示不支援或限制 */
}

/* 無限制的特殊樣式 */
.spec-table td:contains("無限制") {
    font-weight: 500;
    color: #27ae60;
}

/* 懸停效果 */
.spec-table tr:hover td {
    background-color: rgba(52, 152, 219, 0.05);
}

/* 圓角處理 */
.spec-table tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

.spec-table tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

.spec-table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.spec-table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .spec-table th,
    .spec-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .spec-table td:first-child {
        width: 80px; /* 手機版縮小第一欄寬度 */
    }
}

/* 更新浮動按鈕樣式 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-line {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00B900;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,185,0,0.3);
    transition: all 0.3s ease;
}

.floating-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,185,0,0.4);
}

.floating-line i {
    font-size: 20px;
}

.back-to-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top i {
    font-size: 16px;
    color: var(--primary-color);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 響應式調整 */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    .floating-line i {
        display: none;
    }

    .floating-line {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }
} 