.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}


/* 首頁區塊 */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4a4a4a 100%);
    color: var(--white-color);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.hero-section:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    clip-path: polygon(0 80%, 100% 0, 100% 100%, 0% 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 400;
    color: var(--white-color);
    opacity: 0.9;
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons .btn {
    margin-right: 15px;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
}

.hero-buttons .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white-color);
    background-color: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-15deg);
}

/* 痛點卡片 */
.pain-point-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid rgba(179, 155, 125, 0.1);
    height: 100%;
}

.pain-point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 28px;
    transition: var(--transition);
}

.pain-point-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white-color);
}

.pain-point-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pain-point-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* 特色卡片 */
.feature-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid rgba(179, 155, 125, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 28px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white-color);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* 下載區塊 */
.download-content {
    padding: 30px;
}

.download-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.download-content p {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.app-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.app-btn span {
    font-weight: 500;
}

.app-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 商家合作區塊 */
.business-info {
    padding: 30px;
}

.business-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
}

.business-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.business-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.business-info ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.contact-form {
    background: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(179, 155, 125, 0.25);
}

/* 頁腳 */
.footer {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 80px 0 0;
    position: relative;
}

.footer-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-info p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
}

.footer-links h4:after, .footer-newsletter h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter form {
    position: relative;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    color: var(--white-color);
}

.footer-newsletter button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    color: var(--white-color);
    font-weight: 500;
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* 響應式設計 */
@media (max-width: 991px) {
    .hero-section {
        padding: 150px 0 100px;
    }
    
    .hero-image {
        margin-top: 50px;
        transform: perspective(1000px) rotateY(0);
    }
    
    .footer-info, .footer-links, .footer-newsletter {
        margin-bottom: 40px;
    }
    
    .navbar-collapse {
        background: var(--white-color);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--box-shadow);
        margin-top: 15px;
    }
    
    .navbar-collapse .nav-link {
        color: var(--dark-color) !important;
    }
    
    .navbar-collapse .download-btn {
        margin: 10px 0 0 0;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section h2 {
        font-size: 20px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
}

/* 動畫效果 */
.feature-card, .pain-point-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate, .pain-point-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 為不同卡片設置不同的延遲 */
.feature-card:nth-child(1), .pain-point-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2), .pain-point-card:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3), .pain-point-card:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

.feature-card:nth-child(5) {
    transition-delay: 0.5s;
}

.feature-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* 現代按鈕效果 */
.modern-btn {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(179, 155, 125, 0.2);
    transition: var(--transition);
    z-index: 1;
}

.modern-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(179, 155, 125, 0.3);
    color: var(--white-color);
}

.modern-btn:hover:before {
    left: 100%;
}

/* 圖片容器效果 */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.img-container img {
    transition: var(--transition);
}

.img-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.img-container:hover img {
    transform: scale(1.05);
}

/* 波浪分隔線 */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider .shape-fill {
    fill: var(--light-color);
}