@charset "UTF-8";

/* ============================================
   Modules 共用樣式
   ============================================ */

/* --- Hero Banner --- */
.modules-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.modules-hero.reservation-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #00bfa5 100%);
}

.modules-hero.ai-hero {
    background: linear-gradient(135deg, #6a1b9a 0%, #e91e63 50%, #ff5252 100%);
}

.modules-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.modules-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.modules-hero .btn-hero {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modules-hero .btn-hero:hover {
    background: #fff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero 裝飾動畫 */
.modules-hero::before,
.modules-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    animation: float 6s ease-in-out infinite;
}

.modules-hero::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
}

.modules-hero::after {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -40px;
    animation-delay: 3s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (min-width: 992px) {
    .modules-hero {
        padding-top: 12rem;
        padding-bottom: 6rem;
    }
    .modules-hero h1 {
        font-size: 3.5rem;
    }
}

/* --- 功能亮點卡片 --- */
.modules-highlights {
    padding: 60px 0;
    background: #f8f9fa;
}

.modules-highlights .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.modules-highlights .section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 12px;
}

.modules-highlights .section-title p {
    color: #636e72;
    font-size: 1.1rem;
}

.highlight-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

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

.highlight-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.highlight-card .icon-circle.reservation-icon {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1a73e8;
}

.highlight-card .icon-circle.ai-icon {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #6a1b9a;
}

.highlight-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 12px;
}

.highlight-card p {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- 功能詳細介紹 --- */
.modules-feature-detail {
    padding: 70px 0;
}

.modules-feature-detail:nth-child(even) {
    background: #f8f9fa;
}

.feature-detail-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-detail-row.reverse {
    flex-direction: row-reverse;
}

.feature-detail-text {
    flex: 1;
}

.feature-detail-text .feature-tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-tag.reservation-tag {
    background: #e3f2fd;
    color: #1a73e8;
}

.feature-tag.ai-tag {
    background: #f3e5f5;
    color: #6a1b9a;
}

.feature-detail-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 16px;
}

.feature-detail-text p {
    color: #636e72;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.feature-detail-text ul li {
    padding: 6px 0;
    color: #636e72;
    font-size: 1rem;
}

.feature-detail-text ul li i {
    margin-right: 10px;
    color: #00bfa5;
}

.feature-detail-image {
    flex: 1;
    text-align: center;
}

.feature-detail-image .feature-img-placeholder {
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.feature-detail-image .feature-img-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.feature-img-placeholder.reservation-placeholder {
    background: linear-gradient(135deg, #1a73e8, #00bfa5);
}

.feature-img-placeholder.ai-placeholder {
    background: linear-gradient(135deg, #6a1b9a, #e91e63);
}

@media (max-width: 768px) {
    .feature-detail-row,
    .feature-detail-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- 步驟 / 流程 --- */
.modules-steps {
    padding: 70px 0;
    background: #f8f9fa;
}

.modules-steps .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.modules-steps .section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 12px;
}

.modules-steps .section-title p {
    color: #636e72;
    font-size: 1.1rem;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-card .step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.step-number.reservation-step {
    background: linear-gradient(135deg, #1a73e8, #00bfa5);
}

.step-number.ai-step {
    background: linear-gradient(135deg, #6a1b9a, #e91e63);
}

.step-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 10px;
}

.step-card p {
    color: #636e72;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* 步驟之間的連接線 */
.step-card::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -10%;
    width: 20%;
    height: 2px;
    background: #ddd;
}

.step-card:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .step-card::after {
        display: none;
    }
}

/* --- 使用場景卡片 --- */
.modules-scenarios {
    padding: 70px 0;
}

.modules-scenarios .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.modules-scenarios .section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 12px;
}

.scenario-card {
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.scenario-card .scenario-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.scenario-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 10px;
}

.scenario-card p {
    color: #636e72;
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA 底部 --- */
.modules-cta {
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.modules-cta.reservation-cta {
    background: linear-gradient(135deg, #1a73e8, #00bfa5);
}

.modules-cta.ai-cta {
    background: linear-gradient(135deg, #6a1b9a, #e91e63);
}

.modules-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.modules-cta p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 30px;
}

.modules-cta .btn-cta {
    display: inline-block;
    padding: 14px 50px;
    background: #fff;
    color: #333;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modules-cta .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.modules-cta .btn-cta-outline {
    display: inline-block;
    padding: 14px 50px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 16px;
}

.modules-cta .btn-cta-outline:hover {
    background: #fff;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .modules-cta .btn-cta,
    .modules-cta .btn-cta-outline {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }
}
