/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root body,
:root uni-page-body,
:root .page-app,
:root .page-body {
    background: #f6f6f6 !important;
    background-color: #f6f6f6 !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f6f6f6 !important;
    background-color: #f6f6f6 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-app {
    position: relative;
    color: #333;
    background-color: #f5f5f5 !important;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    margin-top: 5px;
    padding-bottom: 5px;
}

/* Top Banner */
.top-banner {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 0;
    text-align: center;
}

.top-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-banner-text {
    font-size: 14px;
}

.top-banner-link {
    font-size: 13px;
    text-decoration: underline;
    opacity: 0.9;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 4px;
}

.header-link:hover {
    background: #f5f5f5;
}

.header-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    min-width: 16px;
    min-height: 16px;
}

.header-enterprise:hover {
    color: #333;
}

.header-powerbank:hover {
    color: #ff6b35;
}

.header-line {
    color: #06c755;
    background: rgba(6, 199, 85, 0.1);
}

.header-line:hover {
    background: rgba(6, 199, 85, 0.2);
    opacity: 1;
}

.line-badge {
    background: #ff4757;
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 8px;
    margin-left: 2px;
    flex-shrink: 0;
}

.btn-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.btn-cart svg {
    width: 18px;
    height: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #1a1a1a;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 1px solid #333;
}

/* Hero Section */
.hero {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-image {
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Sections */
.section {
    padding: 5px 0;
}

.section-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Card Reader Section */
.section-card-reader {
    background: #fff;
}

.card-reader-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.card-reader-text h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
    margin-bottom: 15px;
}

.card-reader-text p {
    color: #666;
    margin-bottom: 20px;
}

.card-reader-image {
    display: flex;
    gap: 0;
    justify-content: center;
}

.card-reader-image img {
    width: 25%;
    height: auto;
}

/* Product Showcase Section */
.section-product-showcase {
    background: #f5f5f5;
    padding: 20px 0;
}

.product-showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

 

/* 左侧大图 */
.showcase-left {
    position: relative;
}

.showcase-main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.showcase-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.showcase-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.badge-icon {
    font-size: 14px;
}

.badge-text {
    font-size: 12px;
    opacity: 0.9;
}

.showcase-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.showcase-desc {
    font-size: 14px;
    opacity: 0.9;
}

/* 右侧产品卡片 */
.showcase-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .product-card-images img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}

@media screen and (max-width: 430px) {
    .section-product-showcase {
        padding: 10px 0;
    }
    
    .product-showcase-content {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .showcase-left {
        width: 100%;
        padding: 4px;
    }
    
    .showcase-right {
        width: 100%;
        gap: 8px;
    }
    
    .product-card {
        grid-template-columns: 1fr 1fr;
        padding: 6px;
        gap: 6px;
    }
    
    .product-card-images {
        display: block;
        width: 100%;
    }
    
    .product-card-images img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .product-card-info {
        gap: 4px;
        overflow: hidden;
    }

    .product-card-info > * {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .product-card-name {
        font-size: 8px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.2;
    }

    .product-card-spec {
        font-size: 6px;
        line-height: 1.2;
    }

    .product-card-price {
        margin: 1px 0;
    }

    .product-card-price .currency {
        font-size: 7px;
        margin-top: 1px;
    }

    .product-card-price .price {
        font-size: 10px;
    }

    .product-card-price .decimal {
        font-size: 7px;
        margin-top: 0;
    }

    .product-card-note {
        font-size: 5px;
        line-height: 1.2;
    }
}

.product-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.product-card-spec {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.product-card-price {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin: 5px 0;
}

.product-card-price .currency {
    font-size: 12px;
    color: #333;
    margin-top: 4px;
}

.product-card-price .price {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.product-card-price .decimal {
    font-size: 14px;
    color: #333;
    margin-top: 2px;
}

.product-card-note {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

.product-card-images {
    display: grid;
    gap: 10px;
}

.product-card-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Product Section */
.section-product {
    background: #f5f5f5;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.product-item.reverse {
    direction: rtl;
}

.product-item.reverse > * {
    direction: ltr;
}

.product-info {
    padding: 20px;
}

.product-tag {
    display: inline-block;
    background: #06c755;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.product-title {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    margin-bottom: 10px;
}

.product-desc {
    color: #666;
    margin-bottom: 20px;
}

.product-images {
    display: flex;
    justify-content: center;
}

.product-image-main img {
    width: 100%;
    max-width: 500px;
}

/* Bag Section */
.section-bag {
    background: #fff;
}

.bag-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.bag-text h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
    margin-bottom: 15px;
}

.bag-text p {
    color: #666;
    margin-bottom: 20px;
}

.bag-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Categories Section */
.section-categories {
    background: #f5f5f5;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-item {
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.category-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.category-icon {
    margin: 0 auto 1px;
    color: #333;
}

.category-name {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
}

/* Brand Banner Section */
.section-brand-banner {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.brand-banner-image {
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.brand-banner-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}

.brand-logo {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.brand-slogan {
    font-size: 18px;
    margin-bottom: 5px;
}

.brand-sub {
    font-size: 12px;
    opacity: 0.8;
}

/* About Section */
.section-about {
    background: #fff;
    padding: 80px 0;
}

.about-header {
    margin-bottom: 40px;
}

.about-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.about-text p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.about-mission h3,
.about-team h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 15px;
}

.about-mission p,
.about-team p {
    margin-bottom: 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.mission-image,
.team-image {
    margin-bottom: 15px;
}

.mission-image img,
.team-image img {
    width: 100%;
    border-radius: 8px;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-link {
        font-size: 11px;
        padding: 5px 8px;
        gap: 3px;
    }

    .header-link svg {
        width: 14px;
        height: 14px;
        min-width: 14px;
        min-height: 14px;
    }

    .line-badge {
        font-size: 8px;
        padding: 1px 4px;
    }

    .nav {
        gap: 20px;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .btn-cart span {
        display: none;
    }

    .header-actions {
        gap: 4px;
    }

    .header-link span {
        display: none;
    }

    .header-link {
        padding: 6px;
    }

    .header-link svg {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    .line-badge {
        display: none;
    }

    .card-reader-content,
    .product-item,
    .bag-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .product-item.reverse {
        direction: ltr;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    
  

    .category-name {
        font-size: 13px;
    }

    .brand-banner-content {
        right: 5%;
    }

    .brand-logo {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Product Showcase Responsive */
    .showcase-title {
        font-size: 18px;
    }

    .product-card-price .price {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

 

   

    .category-name {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 10px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .about-text p,
    .about-mission p,
    .about-team p {
        font-size: 11px;
        line-height: 1.5;
    }

    .about-mission h3,
    .about-team h3 {
        font-size: 13px;
        margin: 10px 0 8px;
    }

    .brand-banner-content {
        right: 50%;
        transform: translate(50%, -50%);
    }
}
