/* =========================
   E-DIGI Product Hero
========================= */
.page-hero.edigi-product-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    color: #fff;
    background:
        linear-gradient(90deg,
            rgba(6, 12, 24, 0.82) 0%,
            rgba(6, 12, 24, 0.72) 28%,
            rgba(6, 12, 24, 0.48) 48%,
            rgba(6, 12, 24, 0.22) 68%,
            rgba(6, 12, 24, 0.08) 85%,
            rgba(6, 12, 24, 0.03) 100%
        ),
        linear-gradient(180deg,
            rgba(6,12,24,0.35) 0%,
            rgba(6,12,24,0.10) 45%,
            rgba(6,12,24,0.25) 100%
        ),
        url("../../images/1edigi-banner.jpg") center center / cover no-repeat;
}

.page-hero.edigi-product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.14), transparent 20%),
        radial-gradient(circle at 82% 18%, rgba(6, 182, 212, 0.08), transparent 18%);
    pointer-events: none;
}

.page-hero.edigi-product-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-hero h1 {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.page-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #dbe7f6;
    max-width: 700px;
}

/* =========================
   Main Product Layout
========================= */
.edigi-product-section {
    background: linear-gradient(180deg, #edf2f8 0%, #e7edf4 100%);
    border-top: 1px solid #dde5ef;
}

.edigi-product-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* =========================
   Sidebar
========================= */
.edigi-product-sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-box {
    background: linear-gradient(180deg, #ffffff, #f9fbff);
    border: 1px solid #e6edf6;
    border-radius: 28px;
    padding: 22px 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.sidebar-box h2 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 18px;
    padding: 0 6px;
}

.sidebar-group {
    margin-bottom: 18px;
}

.sidebar-group:last-child {
    margin-bottom: 0;
}

.sidebar-group h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    padding: 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-group a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    transition: all 0.22s ease;
}

.sidebar-group a:hover {
    background: #f1f7ff;
    color: var(--primary);
    transform: translateX(2px);
}

.sidebar-group a.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

/* =========================
   Main Content
========================= */
.edigi-product-main {
    display: grid;
    gap: 24px;
}

/* =========================
   Product Overview Card
========================= */
.product-overview-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid #e8eef6;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.product-image-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-image-wrap a {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e8eef6;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.product-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease, filter 0.3s ease;
}

.product-image-wrap a:hover img {
    transform: scale(1.03);
    filter: brightness(1.02);
}

.image-note {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

.product-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.product-summary h2 {
    font-size: 34px;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.6px;
}

.product-summary p {
    color: #475569;
    font-size: 16px;
    line-height: 1.85;
}

/* =========================
   download
========================= */

.download-box {
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-box h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 14px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
    transition: all 0.25s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.24);
}

/* =========================
   Content Cards
========================= */
.content-card {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid #e8eef6;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.content-card h3 {
    font-size: 26px;
    color: var(--dark);
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

/* =========================
   Feature List
========================= */
.feature-list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 22px;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
}

/* =========================
   Spec Table
========================= */
.spec-table {
    display: grid;
    gap: 12px;
}

.spec-divider {
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    border-radius: 999px;
    margin: 36px 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 18px;
    overflow: hidden;
}

.spec-label {
    padding: 16px 18px;
    background: linear-gradient(180deg, #f8fbff, #eff6ff);
    color: var(--dark);
    font-size: 15px;
    font-weight: 800;
    border-right: 1px solid #e8eef6;
}

.spec-value {
    padding: 16px 18px;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

/* =========================
   CTA
========================= */
.cta-section {
    background: transparent;
}

/* CTA 由 common.css 控制 */

/* =========================
   Responsive
========================= */
@media (max-width: 1100px) {
    .edigi-product-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .product-overview-card {
        grid-template-columns: 1fr;
    }

    .product-summary h2 {
        font-size: 30px;
    }
}

@media (max-width: 860px) {
    .page-hero.edigi-product-hero {
        padding: 86px 0 70px;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .edigi-product-layout {
        grid-template-columns: 1fr;
    }

    .edigi-product-sidebar {
        position: static;
    }

    .sidebar-box {
        padding: 18px 16px;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-label {
        border-right: none;
        border-bottom: 1px solid #e8eef6;
    }
}

@media (max-width: 640px) {
    .page-hero h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .page-desc {
        font-size: 16px;
    }

    .product-overview-card,
    .content-card {
        padding: 22px 20px;
    }

    .product-summary h2 {
        font-size: 28px;
    }

    .content-card h3 {
        font-size: 23px;
    }

    .spec-label,
    .spec-value {
        padding: 14px 16px;
    }
}