/* Global Product Page Styles */

/* Text Selection */
.hero-content,
.hero-content h1,
.hero-content h2,
.hero-content p,
.feature-item,
.feature-item h3,
.feature-item p,
.section-content,
.section-content p {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

button,
.btn,
.nav-button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    -webkit-tap-highlight-color: transparent;
    font-family: "Noto Sans TC", sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

/* iframe support */
body.in-iframe {
    overflow-y: visible;
    height: auto;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    text-align: left;
    padding: 0;
    color: white;
    margin-bottom: 30px;
    border-radius: 0;
    position: relative;
    height: 500px;
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    width: 100%;
    max-width: 1300px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-section .hero-image {
    position: relative;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-section .hero-image img {
    height: 480px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-section .hero-image img.loaded {
    opacity: 1;
}

.hero-section .hero-content {
    position: relative;
    flex: 1;
    /* Default to flex:1 */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px 48px 20px 20px;
    padding-top: 10%;
    z-index: 2;
    background-color: transparent;
    border-radius: 0;
    width: auto;
    /* Allow override */
}

.hero-content-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.hero-section .hero-content h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: var(--hero-h1-letter-spacing, 2px);
    text-align: var(--hero-h1-text-align, left);
    width: 100%;
}

.hero-section .hero-content h2 {
    font-size: 1.3rem;
    font-weight: normal;
    line-height: 1.6;
    letter-spacing: 0.8px;
    margin: 20px 0 0 0;
}

/* Feature Strips */
.feature-strip {
    background: #fdf9e8;
    /* Default, can overlap */
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    margin: 40px auto 0 auto;
    max-width: 1300px;
    box-sizing: border-box;
    gap: 32px;
}

.feature-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 160px;
}

.feature-strip-item .icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.feature-strip-item .feature-title {
    font-weight: bold;
    margin-bottom: 6px;
    color: #222;
}

.feature-strip-item .feature-desc {
    color: #ff9800;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-strip-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Feature Cards */
.feature-main-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: bold;
    margin: 48px 0 12px 0;
    color: #1a2a36;
}

.feature-main-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 32px;
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto 48px auto;
    flex-wrap: nowrap;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 32px 24px 24px 24px;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card .icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.feature-card .feature-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a2a36;
}

.feature-card .feature-desc {
    color: #444;
    font-size: 1rem;
}

.feature-card .badge {
    display: inline-block;
    background: #ffe066;
    color: #ff9800;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 8px;
    padding: 2px 10px;
    margin-bottom: 8px;
    margin-left: 6px;
}

.feature-card img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Download Buttons */
.download-container {
    max-width: 1300px;
    margin: 10px auto 20px auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.download-row-standalone,
.download-row-outer {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-direction: row;
}

.download-btn.download-btn-new {
    display: flex;
    align-items: center;
    background: #fff;
    color: #3778ce;
    font-size: 1.15rem;
    font-weight: bold;
    padding: 12px 32px 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    border: 2px solid #e0eaff;
    outline: none;
    cursor: pointer;
    gap: 18px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.download-btn.download-btn-new:hover {
    background: #eaf3ff;
    color: #205a9e;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    border-color: #b5d0f7;
}

.download-btn-icon-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.windows-logo {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.download-btn-os-text {
    display: flex;
    flex-direction: column;
    font-size: 0.98rem;
    line-height: 1.2;
    color: #3778ce;
    font-weight: 400;
    gap: 0px;
    margin-top: -2px;
    margin-bottom: -2px;
}

.download-btn-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    /* Default color */
    margin-right: 10px;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .hero-section {
        height: auto;
        padding-bottom: 40px;
    }

    .hero-inner {
        flex-direction: column;
        padding: 20px;
    }

    .hero-section .hero-image {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .hero-section .hero-image img {
        height: 300px;
    }

    .hero-section .hero-content {
        width: 100%;
        height: auto;
        padding: 20px 20px 0 20px;
        padding-top: 20px;
    }

    .hero-content-col {
        width: 100%;
        height: auto;
    }

    .hero-section .hero-content h2 {
        position: static !important;
        margin-top: 20px !important;
    }
}

@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section h2 {
        font-size: 1.3rem;
    }

    .hero-section h1,
    .hero-section h2 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 900px) {
    .feature-strip {
        flex-direction: column;
        gap: 18px;
        padding: 24px 10px;
    }

    .feature-cards {
        flex-wrap: nowrap;
        overflow-x: auto;
        /* Allow scrolling if really needed, though original forced nowrap without overflow handling which might be buggy. */
    }

    .download-row-standalone,
    .download-row-outer {
        margin: 20px 0 20px 0;
        padding: 0 10px;
        flex-direction: column;
    }

    .download-btn.download-btn-new {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 10px 12px 10px;
    }
}