/* 重置和基礎樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #EAF7EF;
}

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

/* 導航欄 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D5A3D;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8FBC94;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    pointer-events: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主要橫幅區域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #A8D5BA 0%, #8FBC94 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.taiwan-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #2D5A3D;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 90, 61, 0.3);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #2D5A3D;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #2D5A3D;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #2D5A3D;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 90, 61, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #2D5A3D;
    border: 2px solid #2D5A3D;
}

.btn-secondary:hover {
    background: white;
    color: #2D5A3D;
}

/* 手機模擬器 */
.phone-mockup {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.app-screenshot {
    width: 280px;
    height: 500px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(45, 90, 61, 0.3);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center 10%;
}

.app-screenshot:hover {
    transform: rotateY(-10deg) rotateX(2deg);
}

.app-header {
    margin-bottom: 20px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 15px;
}

.status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.battery {
    font-size: 0.7rem;
}

.app-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.app-title h3 {
    color: #2D5A3D;
    font-size: 1.2rem;
}

.app-title i {
    color: #666;
    font-size: 1rem;
}

.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 0.9rem;
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.contact-list {
    color: #333;
}

.date-separator {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #A8D5BA, #EAF7EF);
    margin-right: 15px;
}

.contact-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-info p {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 2px;
}

.contact-info small {
    font-size: 0.6rem;
    color: #999;
}

.contact-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.contact-actions i {
    color: #666;
    font-size: 0.8rem;
}

/* 功能特色區域 */
.features {
    padding: 80px 0;
    background: #EAF7EF;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(45, 90, 61, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #A8D5BA, #8FBC94);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 定價區域 */
.pricing {
    padding: 80px 0;
    background: #EAF7EF;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.pricing .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 90, 61, 0.15);
}

.pricing-card.pro {
    border-color: #A8D5BA;
    transform: scale(1.02);
}

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

.pricing-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #A8D5BA, #8FBC94);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2D5A3D;
}

.price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1rem;
    color: #666;
    vertical-align: top;
}

.amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2D5A3D;
}

.period {
    font-size: 0.9rem;
    color: #666;
    margin-left: 0.3rem;
}

.description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.trial-info {
    background: #EAF7EF;
    color: #2D5A3D;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.savings {
    background: #ff6b6b;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.pricing-features {
    margin: 1.5rem 0;
}

.pricing-features ul {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.pricing-features i {
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.pricing-footer {
    margin-top: 1.5rem;
}

.btn-outline {
    background: transparent;
    color: #2D5A3D;
    border: 2px solid #2D5A3D;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #2D5A3D;
    color: white;
}

.cancel-info {
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
}

/* 問答集區域 */
.qa {
    padding: 80px 0;
    background: white;
}

.qa h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.qa .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.qa-container {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    background: white;
    border: 2px solid #EAF7EF;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(45, 90, 61, 0.05);
}

.qa-item:hover {
    border-color: #A8D5BA;
    box-shadow: 0 5px 20px rgba(45, 90, 61, 0.1);
}

.qa-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EAF7EF;
    transition: background-color 0.3s ease;
}

.qa-question:hover {
    background: #A8D5BA;
}

.qa-question h3 {
    font-size: 1.1rem;
    color: #2D5A3D;
    margin: 0;
    font-weight: 600;
}

.qa-question i {
    color: #2D5A3D;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.qa-item.active .qa-question i {
    transform: rotate(180deg);
}

.qa-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.qa-item.active .qa-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.qa-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 下載區域 */
.download {
    padding: 80px 0;
    background: white;
}

.download h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.download > .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    background: #EAF7EF;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #A8D5BA, #8FBC94);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.download-icon i {
    font-size: 2.5rem;
    color: white;
}

.download-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.download-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.version-info {
    background: #EAF7EF;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.version-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2D5A3D;
}

.version-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.version-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #A8D5BA;
}

.version-label {
    display: block;
    font-weight: 600;
    color: #2D5A3D;
    margin-bottom: 0.5rem;
}

.version-desc {
    color: #666;
    font-size: 0.9rem;
}

/* 支援區域 */
.support {
    padding: 80px 0;
    background: #EAF7EF;
}

.support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.support > .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(45, 90, 61, 0.1);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #A8D5BA, #8FBC94);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.support-icon i {
    font-size: 2rem;
    color: white;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2D5A3D;
}

.support-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.support-link {
    color: #2D5A3D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #8FBC94;
}

/* 頁腳 */
.footer {
    background: #2D5A3D;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #A8D5BA;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #A8D5BA;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #EAF7EF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #A8D5BA;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #8FBC94;
    color: #EAF7EF;
}

/* 功能比較表格樣式 */
.feature-comparison {
    margin-top: 3rem;
}

.feature-comparison h4 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #2D5A3D;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(45, 90, 61, 0.1);
    border: 2px solid #A8D5BA;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: linear-gradient(135deg, #A8D5BA, #8FBC94);
    color: white;
    font-weight: 600;
    text-align: center;
}

.table-header > div {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.table-header > div:last-child {
    border-right: none;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #EAF7EF;
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background-color: #EAF7EF;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row > div {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #EAF7EF;
}

.table-row > div:first-child {
    justify-content: flex-start;
    text-align: left;
    font-weight: 500;
    color: #2D5A3D;
}

.table-row > div:last-child {
    border-right: none;
}

.free-version {
    color: #666;
}

.pro-version {
    color: #2D5A3D;
    font-weight: 600;
}

.free-version i.fa-check {
    color: #51cf66;
    font-size: 1.2rem;
}

.free-version i.fa-times {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.pro-version i.fa-check {
    color: #51cf66;
    font-size: 1.2rem;
}

.pro-version i.fa-times {
    color: #ff6b6b;
    font-size: 1.2rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0.5rem 0;
        z-index: 1001;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.3rem 0;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        display: block;
        border-radius: 6px;
        margin: 0 0.8rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background-color: #EAF7EF;
        color: #2D5A3D;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-screenshot {
        width: 250px;
        height: 450px;
        transform: none;
    }
    
    .app-screenshot:hover {
        transform: none;
    }
    
    .features-grid,
    .pricing-grid,
    .download-options,
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .qa-container {
        margin: 0 1rem;
    }
    
    .qa-question {
        padding: 1rem;
    }
    
    .qa-question h3 {
        font-size: 1rem;
    }
    
    .qa-item.active .qa-answer {
        padding: 1rem;
    }
    
    .pricing-card.pro {
        transform: none;
    }
    
    .pricing-card.pro:hover {
        transform: translateY(-10px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 0.2rem;
    }
    
    .table-header > div,
    .table-row > div {
        border-right: 1px solid #EAF7EF;
        border-bottom: none;
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .table-header > div:last-child,
    .table-row > div:last-child {
        border-right: none;
    }
    
    .table-row > div:first-child {
        background-color: transparent;
        font-weight: 500;
        justify-content: flex-start;
        text-align: left;
        padding-left: 0.6rem;
    }
    
    .comparison-table {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }
    
    .feature-comparison h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .taiwan-subtitle {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .app-screenshot {
        width: 220px;
        height: 400px;
    }
    
    .feature-comparison h4 {
        font-size: 1.1rem;
    }
    
    .table-header > div,
    .table-row > div {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .comparison-table {
        margin: 0 0.5rem;
    }
    
    .taiwan-subtitle {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

