@charset "utf-8";
/*
Theme Name: GeneratePress Child
Template: generatepress
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.home .entry-title {
    display: none;
}


button,
.button,
.btn,
input[type="submit"],
.wp-block-button__link {
    background: linear-gradient(135deg, #0a58ca, #6f42c1);
    border: none;
    border-radius: 40px;
    padding: 12px 28px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(10, 88, 202, 0.3);
    color: #fff !important;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

button:hover,
.button:hover,
.btn:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background: linear-gradient(135deg, #ff5e7c, #ff2e4a);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 124, 0.4);
    color: #fff !important;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #0a58ca;
    color: #0a58ca;
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(10, 88, 202, 0.1);
    border-color: #ff5e7c;
    color: #ff5e7c;
}


a:hover,
.entry-content a:hover,
.page-content a:hover,
.sidebar .widget a:hover,
.footer-widgets a:hover,
.site-footer a:hover,
.entry-meta a:hover {
    color: #ff5e7c !important;
}

/* ========== 导航菜单 ========== */
.main-navigation .menu > li > a {
    font-weight: 500;
    transition: color 0.2s ease;
}
.main-navigation .menu > li > a:hover {
    color: #ff5e7c !important;
}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #0a58ca !important;
    font-weight: 600;
}
.main-navigation .sub-menu .menu-item a:hover {
    color: #ff5e7c !important;
}

/* ========== 文章/页面卡片化 ========== */
.entry-content,
.post,
.page {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

/* ========== 侧边栏小工具 ========== */
.sidebar .widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
}

/* ========== 页脚 ========== */
.site-footer {
    border-top: 1px solid #eef2f6;
}
.footer-widgets {
    background: #ffffff;
}

/* ========== 表单聚焦 ========== */
input:focus,
textarea:focus,
select:focus {
    border-color: #0a58ca !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(10, 88, 202, 0.2);
}

/* ========== 通用模块容器 ========== */
.module {
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 3rem;
}
.module:first-child {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 3rem;
}

/* ========== Banner 左右布局 ========== */
.banner-card {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    border-radius: 2rem;
}
.banner-card .banner-image {
    flex: 0 0 55%;
    background: #eef2fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-card .banner-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 100%;
}
.banner-card .banner-content {
    flex: 1;
    padding: 2.5rem;
}

.tech-banner {
    background: #f8faff;
    padding: 2rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.badge {
    background: rgba(10, 88, 202, 0.12);
    color: #0a58ca;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.2;
    color: #1e2a3a;
}

p {
    color: #4a5b6e;
    line-height: 1.5;
    margin: 1rem 0 1.5rem;
}

/* ========== 特性网格 (4列) ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.feature-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.8rem 1rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    border: 1px solid #eef2f6;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 88, 202, 0.1);
    border-color: rgba(10, 88, 202, 0.2);
}
.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}
.feature-sub {
    font-size: 0.9rem;
    color: #4a5b6e;
    font-weight: 500;
}

/* ========== 产品展示栏（标准样式） ========== */
.products-section {
    background: transparent;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e2a3a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0a58ca, #6f42c1);
    margin: 0 auto;
    border-radius: 3px;
}

/* 产品网格 - 标准版 4列 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.product-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 88, 202, 0.1);
    border-color: rgba(10, 88, 202, 0.2);
}
.product-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #f8faff;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e2a3a;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a58ca;
    margin-bottom: 1rem;
}
.add-to-basket {
    display: inline-block;
    background: linear-gradient(135deg, #0a58ca, #6f42c1);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-top: auto;
}
.add-to-basket:hover {
    background: linear-gradient(135deg, #ff5e7c, #ff2e4a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 124, 0.3);
}

/* ========== 三卡片展示栏（背景图在下） ========== */
.products-showcase {
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 3rem;
}
.promo-banner {
    background: linear-gradient(135deg, #0a58ca, #6f42c1);
    border-radius: 2rem;
    padding: 1.2rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: white;
}
.promo-text {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}
.promo-highlight {
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 0.5rem;
}
.promo-small {
    display: inline-block;
    margin-left: 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.product-card-bg {
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    height: 320px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card-bg:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(10, 88, 202, 0.15);
}
.card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.2rem 1rem 1rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    text-align: center;
    transition: background 0.2s;
    height: 65%;
    overflow-y: auto;
}
.product-card-bg:hover .card-content {
    background: rgba(255, 255, 255, 0.95);
}
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}
.card-desc {
    font-size: 0.75rem;
    color: #4a5b6e;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0a58ca, #6f42c1);
    color: white;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
}
.card-btn:hover {
    background: linear-gradient(135deg, #ff5e7c, #ff2e4a);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 94, 124, 0.3);
}


/* ========== 第五栏目：动态产品展示（三列网格，图片 + 文字） ========== */
.dynamic-products-module {
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 0.2rem;
    margin: 4rem 0 3rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.dynamic-products-module .module-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.dynamic-products-module .module-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #1e2a3a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.dynamic-products-module .module-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0a58ca, #6f42c1);
    margin: 12px auto 0;
    border-radius: 3px;
}
.dynamic-products-module .module-sub {
    font-size: 0.9rem;
    color: #4a5b6e;
    margin-top: 0.8rem;
    letter-spacing: 0.5px;
}

.dynamic-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dynamic-product-card {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    border: 1px solid #eef2f6;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.dynamic-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 88, 202, 0.1);
    border-color: rgba(10, 88, 202, 0.2);
}

.dynamic-product-card .product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8faff;
}
.dynamic-product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.dynamic-product-card:hover .product-img img {
    transform: scale(1.03);
}

.dynamic-product-card .product-info {
    padding: 1.2rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dynamic-product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e2a3a;
    line-height: 1.4;
    margin: 0 0 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    flex: 1;
}

.dynamic-product-card .product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a58ca;
    margin-bottom: 1rem;
}

.dynamic-product-card .product-btn {
    background: linear-gradient(135deg, #0a58ca, #6f42c1);
    border: none;
    border-radius: 2rem;
    color: white;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-transform: uppercase;
    font-family: inherit;
    margin-top: auto;
}
.dynamic-product-card .product-btn:hover {
    background: linear-gradient(135deg, #ff5e7c, #ff2e4a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 124, 0.3);
}

/* ========== 第六栏：炫彩科技风 - 评价与品牌区（独立） ========== */
.tech-reviews-section {
    background: radial-gradient(circle at 20% 30%, #0a0f1f, #03060c);
    padding: 3rem 1.5rem;
    margin: 4rem 0 3rem;
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
    position: relative;
    isolation: isolate;
    box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.2), 0 20px 35px -15px rgba(0, 0, 0, 0.8);
    border-radius: 32px;
}

.tech-reviews-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    border-radius: 32px;
}

.tech-reviews-section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 70% 10%, rgba(0, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
    border-radius: 32px;
}

.tech-reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.reviews-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: rgba(12, 20, 35, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.35);
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}
.review-card:hover {
    border-color: #0ff;
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.5);
    transform: translateY(-4px);
}
.review-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #aaffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px #0ff;
}
.star-rating {
    color: #ffcc33;
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 5px #ffaa33;
}
.review-text {
    color: #e0f0ff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.review-author {
    color: #0ff;
    font-weight: 600;
    font-style: italic;
    text-align: right;
}

.brands-card {
    background: rgba(12, 20, 35, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.35);
    transition: all 0.3s;
}
.brands-card:hover {
    border-color: #0ff;
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.5);
    transform: translateY(-4px);
}
.brands-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff66cc;
    margin-bottom: 1.2rem;
    text-align: center;
    text-shadow: 0 0 3px #f0f;
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.brand-item {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 40px;
    padding: 0.6rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #c9e9ff;
    transition: all 0.2s;
}
.brand-item:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #0ff;
    transform: scale(1.02);
    color: #fff;
    box-shadow: 0 0 8px #0ff;
}

.deal-banner {
    background: linear-gradient(95deg, rgba(0, 255, 255, 0.15), rgba(255, 51, 204, 0.2));
    border: 1px solid rgba(0, 255, 255, 0.7);
    border-radius: 60px;
    padding: 1.2rem 2rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.deal-banner:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: #0ff;
}
.deal-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.deal-label {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ff66cc;
    text-shadow: 0 0 3px #f0f;
}
.deal-discount {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0ff;
    text-shadow: 0 0 5px #0ff;
}
.deal-text {
    color: #e0f0ff;
    font-size: 0.9rem;
}
.deal-btn {
    background: linear-gradient(95deg, #0ff, #f0f);
    border: none;
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.deal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px #0ff;
    color: #fff;
    background: linear-gradient(95deg, #f0f, #0ff);
}
/* 底部链接区样式 */
.bottom-links-module {
    background: #ffffff;
    border-top: 1px solid #eef2f6;
    padding: 2.5rem 1.5rem;
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
}
.links-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.bottom-links-module .link-group h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 1rem;
}
.bottom-links-module .link-group ul {
    list-style: none;
    padding: 0;
}
.bottom-links-module .link-group li {
    margin-bottom: 0.6rem;
}
.bottom-links-module .link-group a {
    color: #4a5b6e;
    text-decoration: none;
    font-size: 0.85rem;
}
.bottom-links-module .link-group a:hover {
    color: #ff5e7c;
}

::-webkit-scrollbar {
    width: 6px;
    background: #0a0f1f;
}
::-webkit-scrollbar-thumb {
    background: #0ff;
    border-radius: 10px;
    box-shadow: inset 0 0 3px black;
}


/* ========== 响应式设计（合并优化） ========== */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .dynamic-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .reviews-main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .deal-content {
        flex-direction: column;
        text-align: center;
    }
    .deal-btn {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .banner-card {
        flex-direction: column;
    }
    .banner-card .banner-image {
        flex: auto;
        padding: 1rem;
    }
    .banner-card .banner-content {
        padding: 1.5rem;
        text-align: center;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .feature-card {
        padding: 1.2rem 0.8rem;
    }
    .feature-title {
        font-size: 1.1rem;
    }
    .entry-content,
    .post,
    .page {
        padding: 2px;
    }
}

@media (max-width: 680px) {
    .tech-reviews-section {
        padding: 2rem 1rem;
    }
    .review-title {
        font-size: 1.4rem;
    }
    .brands-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .promo-text {
        font-size: 1rem;
    }
    .promo-highlight {
        font-size: 1.2rem;
        display: block;
        margin-bottom: 0.3rem;
    }
    .promo-small {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .product-card {
        padding: 1rem;
    }
    .product-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-card-bg {
        height: 280px;
    }
    .card-content {
        height: 70%;
    }
    .dynamic-products-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .dynamic-product-card .product-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}
@media (max-width: 768px) {
    .links-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .links-container {
        grid-template-columns: 1fr;
    }
}