/* 現代首頁樣式 - 專業簡約大氣 */

/* Hero 區域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #1a5f7a 0%, #2c7da0 50%, #57c5b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    margin-top: -70px;
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 40px 20px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* 統計數據 */
.stats-section {
    background: white;
    padding: 80px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* 區塊標題 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* 公司介紹 */
.about-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 產品展示 */
.products-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.product-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 64px;
    color: white;
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-badge {
    padding: 4px 12px;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 12px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* 優勢特點 */
.advantages-section {
    padding: 100px 0;
    background: white;
}

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

.advantage-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-white);
    border-radius: 12px;
    transition: all 0.3s;
}

.advantage-item:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 最新文章 */
.news-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.news-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.news-date {
    background: var(--primary-color);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    height: fit-content;
}

.news-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.news-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.news-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA 區域 */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-content .btn {
    background: white;
    color: var(--primary-color);
}

.cta-content .btn:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* 頁腳 */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

.company-info p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
}

.quick-links ul,
.company-links ul {
    list-style: none;
}

.quick-links li,
.company-links li {
    margin-bottom: 12px;
}

.quick-links a,
.company-links a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s;
}

.quick-links a:hover,
.company-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    p {
        margin-bottom: 8px;
        opacity: 0.8;
        font-size: 14px;
    }
}

.developer-credit {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

/* 文字居中 */
.text-center {
    text-align: center;
}

/* 空狀態 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
}

/* 動畫效果 */
.fade-in, .fade-in-up, .fade-in-up-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in-up-delay {
    transition-delay: 0.3s;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .products-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn-large {
        width: 100%;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .stats-grid,
    .about-cards,
    .products-grid,
    .news-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 24px;
    }

    .news-card {
        flex-direction: column;
    }
}
