/* css/new-index.css - 首頁內容樣式 */

/* 主視覺區 */
.hero {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.banner_img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

/* 介紹區塊 */
.intro_section {
    position: relative;
    width: 100%;
    min-height: 850px;
    margin-top: 99px;
    overflow: hidden;
    padding-bottom: 50px;
}

.intro_section .intro_text_box {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.intro_section .intro_text_box .intro_text_title {
    width: 50%;
    height: 160px;
    font-weight: 900;
    font-size: 60px;
    background: linear-gradient(135deg, #0066cc, #0099ff, #66ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 70px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-right: 13%;
    opacity: 0;
    font-family: "DelaSukoGothicOne", sans-serif;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
    letter-spacing: 1px;
    position: relative;
}

.intro_section .intro_text_box .intro_text_content {
    width: 54%;
    height: 96px;
    font-weight: 500;
    font-size: 24px;
    color: #777777;
    line-height: 28px;
    text-align: justified;
    font-style: normal;
    text-transform: none;
    margin-top: 19px;
    opacity: 0;
}

.intro_section .intro_img_box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 145px;
}

.intro_section .intro_img_box .intro_item_box {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.intro_section .intro_img_box .intro_img_item {
    width: 16%;
    position: relative;
    z-index: 10;
}

.intro_section .intro_img_box .intro_img_item_top {
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

.intro_section .intro_img_box .intro_img_line_left {
    position: absolute;
    width: 80%;
    height: 104px;
    background: #2a2a2a;
    z-index: 2;
    left: 0;
    top: 42%;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

.intro_section .intro_img_box .intro_img_line_right {
    position: absolute;
    width: 20%;
    height: 104px;
    background: #2a2a2a;
    z-index: 2;
    right: 0;
    top: 32.4%;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

/* 產品區塊 */
.product-section {
    padding: 80px 0;
    background: #fff;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0066cc, #0099ff, #66ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(138, 51, 255, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.product-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 4px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover::before {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card-primary::before {
    background: #8a33ff;
}

.product-card-secondary::before {
    background: #ff6b6b;
}

.product-card-accent::before {
    background: #4ecdc4;
}

.product-card-neutral::before {
    background: #45b7d1;
}

.product-card-icon {
    margin-bottom: 20px;
    color: currentColor;
}

.product-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.product-card-desc {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-feature {
    background: rgba(138, 51, 255, 0.08);
    color: #7c3aed;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(138, 51, 255, 0.15);
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.product-feature:hover {
    animation: shake 0.5s ease-in-out;
    transform: scale(1.05);
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0) scale(1.05);
    }

    25% {
        transform: translateX(-2px) scale(1.05);
    }

    50% {
        transform: translateX(2px) scale(1.05);
    }

    75% {
        transform: translateX(-2px) scale(1.05);
    }
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(138, 51, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #8a33ff;
}

.product-highlight-icon {
    color: #8a33ff;
    flex-shrink: 0;
}

.product-highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.product-highlight-content p {
    color: #666;
    font-size: 0.95rem;
}

/* 自由買賣區塊 */
.freedom_section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
}

.freedom_text_box {
    text-align: center;
    margin-bottom: 60px;
}

.freedom_text_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: "DelaSukoGothicOne", sans-serif;
}

.freedom_text_content {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.freedom_img_box {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.freedom_item_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.freedom_img_item {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.freedom_img_item:hover {
    transform: translateY(-5px);
}

.freedom_img_item_top {
    margin-top: -30px;
}

.freedom_img_line_left,
.freedom_img_line_center,
.freedom_img_line_right {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 80%;
    background: linear-gradient(to bottom, transparent, #ff6b6b, transparent);
    transform: translateY(-50%);
}

.freedom_img_line_left {
    left: 16.66%;
}

.freedom_img_line_center {
    left: 50%;
    transform: translate(-50%, -50%);
}

.freedom_img_line_right {
    right: 16.66%;
}

/* 消費送抽區塊 */
.consume_section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
}

.consume_text_box {
    text-align: center;
    margin-bottom: 60px;
}

.consume_text_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: "DelaSukoGothicOne", sans-serif;
}

.consume_text_content {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.consume_img_box {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.consume_item_box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.consume_img_item {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.consume_img_item:hover {
    transform: translateY(-5px);
}

.consume_img_item_top {
    margin-top: -30px;
}

.consume_img_line_left,
.consume_img_line_center,
.consume_img_line_right {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 80%;
    background: linear-gradient(to bottom, transparent, #4ecdc4, transparent);
    transform: translateY(-50%);
}

.consume_img_line_left {
    left: 12.5%;
}

.consume_img_line_center {
    left: 50%;
    transform: translate(-50%, -50%);
}

.consume_img_line_right {
    right: 12.5%;
}

.consume_img_item_top_line {
    top: 25%;
}

/* 平台特色區塊 */
.feature-section {
    padding: 80px 0;
    background: #fff;
}

.feature-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.feature_title_text {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    font-family: "DelaSukoGothicOne", sans-serif;
}

.feature_title_logo {
    height: 80px;
    width: auto;
}

.feature_list {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.feature_item {
    max-width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature_item_left {
    margin-right: auto;
    margin-left: 5%;
}

.feature_item_right {
    margin-left: auto;
    margin-right: 5%;
}

/* 資訊區塊 */
.info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-header {
    text-align: center;
    margin-bottom: 60px;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.info-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card-primary {
    border-top: 4px solid #8a33ff;
}

.info-card-secondary {
    border-top: 4px solid #ff6b6b;
}

.info-card-neutral {
    border-top: 4px solid #45b7d1;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-card-icon {
    color: currentColor;
}

.info-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.info-card-content {
    margin-bottom: 25px;
}

.info-item {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(138, 51, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin: 0 -15px;
}

.info-item-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.info-item-title {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.info-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 12px;
    border-left: 4px solid #ff6b6b;
}

.info-highlight-image {
    flex-shrink: 0;
}

.info-placeholder-image {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.info-highlight-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.info-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.info-status-ended {
    background: #ff6b6b;
    color: white;
}

.info-quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(69, 183, 209, 0.05);
    border-radius: 8px;
    border-left: 4px solid #45b7d1;
    transition: all 0.3s ease;
}

.info-quick-link:hover {
    background: rgba(69, 183, 209, 0.1);
    transform: translateX(5px);
}

.info-quick-link span {
    font-weight: 500;
    color: #333;
}

.info-card-footer {
    text-align: center;
}

.info-more-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(138, 51, 255, 0.1);
    color: #8a33ff;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-more-link:hover {
    background: #8a33ff;
    color: white;
}

.info-more-link-disabled {
    background: rgba(153, 153, 153, 0.1);
    color: #999;
    cursor: not-allowed;
}

.info-more-link-disabled:hover {
    background: rgba(153, 153, 153, 0.1);
    color: #999;
    transform: none;
}

/* Line QR Code 彈窗 */
.line-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.line-qr-modal.active {
    display: flex;
}

.line-qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.line-qr-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.line-qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.line-qr-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.line-qr-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.line-qr-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.line-qr-body {
    text-align: center;
}

.line-qr-image img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.line-qr-text p {
    color: #666;
    margin-bottom: 10px;
}

/* 底部樣式 */
.footer_box {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer_center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer_logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer_menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.footer_text_item {
    transition: color 0.3s ease;
}

.footer_text_item:hover {
    color: #8a33ff;
}

/* 隐私协议链接样式 */
.privacy-link {
    font-size: 14px;
    color: #999;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: #ccc;
    text-decoration: none;
}

/* 隐私协议链接样式 */
.privacy-link {
    font-size: 14px;
    color: #999;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: #ccc;
    text-decoration: none;
}

.footer_text_center_line {
    color: #666;
}

.Facebook_logo {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.footer_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer_line_box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.line-logo {
    width: 24px;
    height: 24px;
}

.footer_line_text {
    font-size: 0.9rem;
}

.line-code {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.line-code:hover {
    transform: scale(1.05);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
    }

    /* 简介样式 - 平板响应式 */
    .intro_section {
        height: auto;
        min-height: auto;
        margin-top: 50px;
        padding: 30px 0 40px 0;
    }

    .intro_section .intro_text_box {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }

    .intro_section .intro_text_box .intro_text_title {
        width: 100%;
        font-size: 36px;
        line-height: 42px;
        margin-right: 0;
        margin-bottom: 20px;
        height: auto;
        font-weight: 900;
        background: linear-gradient(135deg, #0066cc, #0099ff, #66ccff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        display: inline-block;
        text-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
        letter-spacing: 0.5px;
    }

    .intro_section .intro_text_box .intro_text_content {
        width: 100%;
        font-size: 18px;
        line-height: 24px;
        height: auto;
        margin-top: 0;
    }

    .intro_section .intro_img_box {
        margin-top: 20px;
    }

    .intro_section .intro_img_box .intro_img_item {
        width: 20%;
    }

    /* 移動端動畫元素初始位置 */
    .intro_section .intro_img_box .intro_img_item_top {
        transform: translateY(0) !important;
    }

    .freedom_text_title,
    .consume_text_title,
    .product-title,
    .info-title {
        font-size: 2rem;
        font-weight: 900;
        background: linear-gradient(135deg, #0066cc, #0099ff, #66ccff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        text-shadow: 0 2px 8px rgba(138, 51, 255, 0.3);
        letter-spacing: 0.3px;
        display: inline-block;
    }

    .feature_title_text {
        font-size: 2rem;
    }

    .feature_title_logo {
        height: 60px;
    }

    .intro_item_box,
    .freedom_item_box,
    .consume_item_box {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro_img_item_top,
    .freedom_img_item_top,
    .consume_img_item_top {
        margin-top: 0;
    }

    .intro_img_line_left,
    .intro_img_line_right,
    .freedom_img_line_left,
    .freedom_img_line_center,
    .freedom_img_line_right,
    .consume_img_line_left,
    .consume_img_line_center,
    .consume_img_line_right {
        display: none;
    }

    .product-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer_left {
        min-width: auto;
    }

    .footer_text {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    /* 简介样式 - 手机响应式 */
    .intro_section {
        height: auto;
        min-height: auto;
        margin-top: 30px;
        padding: 25px 0 35px 0;
    }

    .intro_section .intro_text_box {
        margin-bottom: 20px;
    }

    .intro_section .intro_text_box .intro_text_title {
        font-size: 28px;
        line-height: 32px;
        height: auto;
        margin-bottom: 15px;
        font-weight: 900;
        background: linear-gradient(135deg, #0066cc, #0099ff, #66ccff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        display: inline-block;
        text-shadow: 0 2px 6px rgba(0, 102, 204, 0.3);
        letter-spacing: 0.3px;
    }

    .intro_section .intro_text_box .intro_text_content {
        font-size: 16px;
        line-height: 22px;
        height: auto;
        margin-top: 0;
    }

    .intro_section .intro_img_box {
        margin-top: 15px;
    }

    .intro_section .intro_img_box .intro_img_item {
        width: 25%;
    }

    /* 手機端動畫元素初始位置 */
    .intro_section .intro_img_box .intro_img_item_top {
        transform: translateY(0) !important;
    }

    .freedom_text_title,
    .consume_text_title,
    .product-title,
    .info-title {
        font-size: 1.6rem;
        font-weight: 900;
        background: linear-gradient(135deg, #8a33ff, #f55bba, #ff6b6b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        text-shadow: 0 2px 6px rgba(138, 51, 255, 0.3);
        letter-spacing: 0.2px;
        display: inline-block;
    }

    .feature_title_text {
        font-size: 1.6rem;
    }

    .feature_title_logo {
        height: 50px;
    }

    .product-card,
    .info-card {
        padding: 20px;
    }

    .line-qr-content {
        padding: 20px;
    }
}