﻿/*.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #002855 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}*/

.hero {
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #2D4FA8 100%);*/
    background: var(--primary-color);
    background-image: url('../Content/Images/hero.jpg');
    color: white;
    padding: 150px 0 100px;
    /*margin-top: 70px;*/
    background-position: center;
    background-size: cover;
}

.hero-content {
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #2D4FA8 100%);*/
    background: var(--primary-color);
    display: grid;
    gap: 4rem;
    align-items: center;
    max-width: 500px;
    padding: 50px;
    border-radius: var(--radius);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

    .btn-outline:hover {
        background: white;
        color: var(--primary);
    }

.intro-section {
    background-color: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.intro-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text);
}

.intro-list {
    margin-top: 30px;
}

.intro-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

    .intro-item i {
        color: var(--secondary);
        margin-top: 4px;
    }

    .intro-item span {
        font-size: 16px;
        line-height: 1.6;
        color: var(--text);
    }

.intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(1, 31, 63, 0.1);
}

.benefits-section {
    background-color: var(--background);
}

.features-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(1, 31, 63, 0.08);
    overflow: hidden;
}

.tab-headers {
    display: flex;
    background: var(--primary);
    overflow-x: auto;
}

.tab-header {
    flex: 1;
    min-width: 200px;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    white-space: nowrap;
}

    .tab-header:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .tab-header.active {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        border-bottom-color: var(--secondary);
    }

.tab-content {
    padding: 0;
}

.tab-pane {
    display: none;
    padding: 40px;
}

    .tab-pane.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .feature-detail-grid {
        grid-template-columns: 1fr;
    }
}

.feature-detail-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 30px;
    background: var(--background);
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

    .feature-detail-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 107, 53, 0.3);
        box-shadow: 0 10px 30px rgba(1, 31, 63, 0.1);
    }

.feature-detail-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.feature-detail-content h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 20px;
}

.feature-detail-content p {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.6;
    opacity: 0.9;
}

.feature-benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .feature-benefits li {
        background: white;
        padding: 6px 15px;
        border-radius: 20px;
        font-size: 14px;
        color: var(--primary);
        border: 1px solid rgba(255, 107, 53, 0.3);
    }

@media (max-width: 768px) {
    .tab-headers {
        flex-direction: column;
    }

    .tab-header {
        min-width: 100%;
        text-align: center;
        padding: 18px;
    }

    .tab-pane {
        padding: 30px 20px;
    }

    .feature-detail-card {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 25px;
    }

    .feature-detail-icon {
        margin: 0 auto;
    }

    .feature-benefits {
        justify-content: center;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .feature-card i {
        font-size: 40px;
        color: var(--secondary-color);
        margin-bottom: 20px;
    }

    .feature-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
        color: var(--primary-dark);
    }

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #002855 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        align-items: center;
    }

    .tabs-header {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }

    .tabs-content {
        padding: 30px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}
