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

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7; /* 增加行高，提升阅读体验 */
    color: #333;
    background-color: #f5f5f5; /* 浅灰背景，突出内容区 */
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    max-width: 800px; /* 适合博客阅读的宽度 */
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.03);
    overflow: hidden; /* 防止子元素 margin 溢出 */
}

/* Sections */
section {
    padding: 2.5rem 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.3;
    color: #111;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem; /* 17px */
    letter-spacing: 0.02em;
    text-align: justify; /* 两端对齐 */
}

strong {
    font-weight: 700;
    color: #000;
}

ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    padding-left: 0.3rem;
}

/* Media */
img, video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

figure {
    margin: 2.5rem 0;
}

figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.8rem;
    font-style: italic;
}

/* Specific Components - Product Intro */
.product-intro {
    background-color: #fff;
    padding-top: 3.5rem;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    text-align: left;
}

.core-mission {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border-left: 5px solid #2c3e50;
}

.core-mission p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.core-mission ul {
    margin-bottom: 0;
}

/* Blog Section */
.blog-post {
    padding-top: 1rem;
}

.brand-header {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e74c3c; /* 强调色 */
}

/* Video Grid */
.video-gallery {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.video-item {
    margin: 0;
}

.video-item video {
    background-color: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Daily Care Section */
.daily-care {
    background-color: #fafafa;
    border-top: 1px solid #eaeaea;
}

.intro-block {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid #e74c3c;
    color: #2c3e50;
}

/* Sports Grid */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default 3 columns */
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem; /* Restore margin */
}

/* Emphasis Box */
.emphasis-box {
    margin-top: 0;
    padding: 1.5rem;
    background-color: transparent; /* Remove background */
    border: none; /* Remove border */
    box-shadow: none; /* Remove shadow */
    text-align: center;
    position: relative;
}

.emphasis-box::before {
    display: none; /* Remove side bar */
}

.emphasis-box p {
    margin-bottom: 0;
    font-weight: 700;
    color: #c0392b; /* Revert to original red color or keep dark blue based on preference, assuming red for emphasis */
    font-size: 1.15rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    display: inline-block;
    border-bottom: 2px solid #e74c3c; /* Underline style */
    padding-bottom: 5px;
}

.sport-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease;
}

.sport-item:hover {
    transform: translateY(-5px);
}

.sport-item img {
    width: 64px; /* Icon size */
    height: 64px;
    margin: 0 auto 1rem;
    object-fit: contain;
    border-radius: 0; /* Icons often don't need border radius */
}

.sport-item .target-area {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.4;
    text-align: center;
}

.emphasis-box p {
    margin-bottom: 0;
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.2rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* Portable vs Powerful Section */
.portable-powerful {
    background-color: #fff;
    border-top: 1px solid #eaeaea;
}

.image-row {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.half-width {
    width: 50%;
    margin: 0;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.scene-item {
    text-align: center;
}

.scene-item img {
    border-radius: 8px;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.scene-item p {
    font-size: 1rem;
    color: #444;
    font-weight: 500;
    margin-bottom: 0;
    text-align: center;
}

/* Case Study */
.case-study {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 1px solid #eee;
}

.case-study .subsection-title {
    margin-top: 0;
    border-left-color: #2980b9; /* 蓝色强调 */
}

.case-details {
    margin-top: 1.5rem;
}

.case-details p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.note-box {
    background-color: #e8f4fc;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    border-left: 4px solid #3498db;
}

.note-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #2c3e50;
    font-style: italic;
}

/* Scientific Principles */
.scientific-principles {
    background-color: #fafafa;
}

.effects-list {
    margin: 2rem 0;
}

.effect-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #27ae60;
}

.effect-item h4 {
    color: #27ae60;
    margin-bottom: 0.5rem;
}

.effect-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Medication Alternative Section */
.medication-alternative {
    background-color: #fff;
    border-top: 1px solid #eaeaea;
}

.reference-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
    word-break: break-all;
}

.reference-link a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dashed #3498db;
    transition: all 0.2s;
}

.reference-link a:hover {
    color: #2980b9;
    border-bottom-style: solid;
}

/* Brand Story Section */
.brand-story {
    background-color: #fcfcfc;
    border-top: 1px solid #eaeaea;
    padding-bottom: 4rem;
}

.brand-story p {
    color: #555;
}

/* User Testimonials */
.user-testimonials {
    background-color: #fff;
    padding-bottom: 4rem;
}

.testimonial-list figure,
.research-prove figure {
    margin: 3rem 0; /* Increase spacing between testimonials */
}

.testimonial-list img,
.research-prove img {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Enhance shadow for depth */
}

/* Early Bird Section */
.early-bird {
    background-color: #f5f7fa;
    padding-bottom: 4rem;
}

.youtube-gallery {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.youtube-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feedback-prompt {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feedback-prompt p {
    margin-bottom: 0;
    font-weight: 500;
    color: #2c3e50;
}

/* Usage Guide Section */
.usage-guide {
    background-color: #fff;
    border-top: 1px solid #eaeaea;
}

.note-box.highlight {
    background-color: #fff8e1;
    border-left-color: #f1c40f;
    margin: 2rem 0;
}

.methods-list {
    margin: 2rem 0;
}

.method-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #3498db;
}

.method-item h4 {
    margin-bottom: 0.5rem;
    color: #2980b9;
}

.method-item p {
    margin-bottom: 0;
}

.acupoint-gallery figure {
    margin: 2rem 0;
}

/* Global Shipping Section */
.global-shipping {
    background-color: #fafafa;
    padding-bottom: 5rem;
}

.shipping-notice {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.shipping-notice h3 {
    font-size: 1.2rem;
    color: #c0392b;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
}

.update-item {
    margin-bottom: 1.2rem;
}

.update-item .date {
    display: block;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.shipping-notes {
    margin: 2rem 0;
    font-size: 0.95rem;
}

.shipping-notes ol {
    padding-left: 1.5rem;
    color: #555;
}

.shipping-notes li {
    margin-bottom: 0.8rem;
}

.contact-channels {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tech Specs Section */
.tech-specs {
    background-color: #fff;
    border-top: 1px solid #eaeaea;
}

.specs-table-container {
    margin: 2rem 0;
    overflow-x: auto; /* Allow horizontal scroll on mobile */
}

.specs-table, .power-levels-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.specs-table td, .power-levels-table th, .power-levels-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
}

.specs-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    width: 40%;
    background-color: #fafafa;
}

.power-levels-table th {
    background-color: #f0f0f0;
    font-weight: 600;
    text-align: center;
}

.power-levels-table td {
    text-align: center;
}

.detail-specs td:first-child {
    width: 35%;
}

/* Safety Guidelines Section */
.safety-guidelines {
    background-color: #fafafa;
    padding-bottom: 5rem;
}

.guideline-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
    overflow: hidden; /* For header border-radius */
}

.card-header {
    background-color: #d1d5db; /* Light grey header like reference */
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #374151;
}

.card-body {
    padding: 2rem 1.5rem;
}

.card-body ul, .card-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-body li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #4b5563;
}

.important-notice {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.caution-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.card-body h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Timeline Section */
.project-timeline {
    background-color: #fff;
    padding-bottom: 5rem;
    border-top: 1px solid #eaeaea;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

/* Desktop Timeline (Horizontal Grid-like) */
@media (min-width: 768px) {
    .timeline-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .timeline-item {
        position: relative;
        padding-top: 2rem;
        border-top: 3px solid #e0e0e0;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        top: -9px;
        left: 0;
        width: 15px;
        height: 15px;
        background-color: #fff;
        border: 3px solid #3498db;
        border-radius: 50%;
    }

    .timeline-item.highlight::before {
        background-color: #E91478;
        border-color: #E91478;
    }
    
    .timeline-item.highlight {
        border-top-color: #E91478;
    }
}

/* Mobile Timeline (Vertical) */
@media (max-width: 767px) {
    .timeline-container {
        border-left: 3px solid #e0e0e0;
        padding-left: 2rem;
        margin-left: 1rem;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 2.5rem;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -2.6rem;
        top: 0.3rem;
        width: 15px;
        height: 15px;
        background-color: #fff;
        border: 3px solid #3498db;
        border-radius: 50%;
    }

    .timeline-item.highlight::before {
        background-color: #E91478;
        border-color: #E91478;
    }
}

.timeline-date {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-item.highlight .timeline-date {
    color: #8B57E4;
}

.timeline-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #2c3e50;
    color: white;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background-color: #8B57E4;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
}

#backToTop svg {
    width: 24px;
    height: 24px;
}

/* Table of Contents */
.toc-container {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border: 1px solid #e9ecef;
}

.toc-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.toc-list {
    list-style: none;
    padding-left: 0;
    columns: 2; /* Two columns on larger screens */
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: block; /* For better hit area */
}

.toc-list a:hover {
    color: #e74c3c;
    padding-left: 5px; /* Slight movement effect */
}

/* Sticky Promo Banner */
.sticky-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.sticky-banner.collapsed {
    width: auto;
    left: auto;
    right: 20px;
    bottom: 20px;
    padding: 0.5rem;
    border-radius: 50px;
    background-color: transparent;
    box-shadow: none;
}

.sticky-banner.collapsed .banner-content {
    background-color: #2c3e50;
    padding: 0.5rem 1rem; /* 增加内边距以容纳按钮和切换图标 */
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    gap: 0.5rem;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.banner-text {
    flex: 1;
    opacity: 1;
    transition: opacity 0.2s ease, width 0.3s ease;
}

.sticky-banner.collapsed .banner-text {
    display: none;
    opacity: 0;
    width: 0;
    padding: 0;
    margin: 0;
}

.banner-tag {
    background-color: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.banner-main {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.banner-main strong {
    color: #f1c40f;
    font-size: 1.3rem;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0 0.5rem;
}

.discount-badge {
    background-color: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #f1c40f;
}

.banner-sub {
    margin: 0;
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-top: 0.2rem;
}

.banner-btn {
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.sticky-banner.collapsed .banner-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.banner-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.toggle-banner {
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    margin-left: 10px; /* Separate from content */
}

.sticky-banner.collapsed .toggle-banner {
    order: 2; /* Put toggle button after the buy button in collapsed mode */
    margin-left: 0.5rem;
    color: #fff;
}

.toggle-banner:hover {
    color: #fff;
}

.toggle-banner svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.sticky-banner.collapsed .toggle-banner svg {
    transform: rotate(180deg);
}

/* Adjust Back to Top button position when banner is present */
#backToTop {
    bottom: 110px; /* Initial position, will be updated by JS */
    transition: bottom 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    p {
        text-align: left;
    }
    .sticky-banner {
        padding: 0.8rem 1rem;
        flex-direction: column; /* Ensure close button can be placed nicely if needed */
        align-items: flex-end; /* Align close button to right */
    }
    
    .sticky-banner .banner-content {
         flex-direction: column;
         align-items: stretch;
         gap: 0.8rem;
         width: 100%;
    }
    
    .toggle-banner {
        position: absolute;
        top: 5px;
        right: 10px;
        margin-left: 0;
    }

    .sticky-banner.collapsed {
        flex-direction: row;
        align-items: center;
        bottom: 20px;
        right: 20px;
        width: auto;
        padding: 0;
    }

    .sticky-banner.collapsed .banner-content {
        flex-direction: row;
        width: auto;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .sticky-banner.collapsed .toggle-banner {
        position: static;
        margin-left: 0.5rem;
    }

    .banner-text {
        text-align: left;
        padding-right: 1.5rem; /* Make space for toggle button */
    }

    .banner-main {
        font-size: 1rem;
    }
    
    .banner-main strong {
        font-size: 1.2rem;
    }

    .banner-sub {
        font-size: 0.8rem;
    }

    .banner-btn {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
    }
    
    .sticky-banner.collapsed .banner-btn {
        width: auto;
    }

    #backToTop {
        bottom: 180px; /* Lift higher on mobile due to taller banner */
    }
    
    .toc-list {
        columns: 1;
    }
    
    .container {
        width: 100%;
        box-shadow: none;
    }
    
    section {
        padding: 2rem 1.25rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    .sports-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 1rem;
    }
}

@media (min-width: 601px) {
    .video-gallery, .youtube-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Footer Styles */
html, body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#footer-container {
    margin-top: auto;
}

html[lang="zh-CN"] body,
html[lang="zh"] body {
    font-family: "Comic Neue", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
                 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html[lang="zh-CN"] .footer-copyright::first-letter,
html[lang="zh"] .footer-copyright::first-letter {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont,
                 "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.18em;
    line-height: 1;
    position: relative;
    top: 0.02em;
}


html[lang="en"] body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
                 Helvetica, Arial, sans-serif;
}


/* footer */


.site-footer {
    margin-top: auto; 
    background: #000;
    color: #fff;
    padding: 48px 24px;
    --newsletter-width: 560px; 
    --footer-inner-max: 1200px; 
    --footer-side-indent: 50px; 
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: var(--footer-inner-max);
    margin: 0 auto;
    text-wrap: nowrap;
}

/* 左侧导航 */
.footer-left-nav .footer-nav-list {
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-left-nav .footer-nav-list li {
    margin-left: 50px;
    margin-bottom: 18px;
}

.footer-left-nav .footer-nav-list a {
    font-size: 18px;
    line-height: 26px;
    transition: border-bottom 0.2s ease;
}

.footer-left-nav .footer-nav-list a:not(.disabled-link):hover {
    border-bottom: 2px solid #fff;
}


/* 中央订阅区 */
.footer-newsletter .footer-title {
    font-size: 18px;
    line-height: 40px;
    margin: 0 0 8px 0;
    font-weight: normal;
    text-align: left;
    max-width: var(--newsletter-width);
    color: #fff; /* Ensure text is white */
}



.footer-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    max-width: var(--newsletter-width);
}

/* 输入框包裹（黑底灰框） */
.footer-input-wrapper {
    display: flex;
    align-items: center;
    background: #222;
    padding: 16px;
    border-radius: 4px;
}

.footer-email-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    opacity: 0.9;
}

.footer-email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}
.footer-email-input::placeholder {
    color: #9b9b9b;
}

/* 提交按钮：初始为白描边透明背景 */
.footer-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid #828282;
    background: transparent;
    color: #828282;
    border-radius: 6px;
    cursor: pointer;
    transition: all 160ms ease;
}

.footer-submit-btn .footer-submit-text {
    font-size: 18px;  
    line-height: 24px;
    transition: color 160ms ease;
}

.footer-submit-btn.btn-valid .footer-submit-text {
    color: #fff;
}

.footer-submit-btn:not(.btn-valid) .footer-submit-text {
    color: #9b9b9b;
}

.footer-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.9;     
}


.footer-submit-btn .footer-arrow-icon {
    width: 18px;
    height: 18px;
}

/* 合法邮箱时的按钮样式（截图1） */
.footer-submit-btn.btn-valid {
    background: #FD5B1F;
    border-color: transparent; /* 无描边 */
}

/* 提示语（截图2样式） */
.footer-hint {
    margin-top: 12px;
    color: #828282;
    font-size: 14px;
    line-height: 22px;
    min-height: 22px; /* 保持区域高度稳定 */
}



/* 禁用链接的统一样式，避免点击/跳顶 */
.disabled-link {
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
}

/* 社交图标行 */
.footer-social {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social img {
    width: 28px;
    height: 28px;
    display: block;
}

/* 右侧页面标识 */
.footer-right-label {
    list-style: none;
    text-decoration: none;
    display: flex;
    align-items: start;
    justify-content: flex-end;
    font-size: 18px;
    opacity: 0.9;
    margin-left: 60px;
    margin-right: 30px;
    align-self: start;
     margin-top: var(--form-top-gap-desktop);
}

.footer-right-label a {
    list-style: none;
    text-decoration: none;
    border-bottom: 1.5px solid #FD5B1F;
    text-wrap: nowrap;
    transition: font-size 0.2s ease;
}

.footer-right-label a:hover {
    font-size: 20px;
}

/* 大 Logo 区域 */
.footer-logo-big-wrap {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.footer-logo-big {
    max-width: min(80%, 900px);;
    height: auto;
    opacity: 0.8;
}

/* 底部条款与版权 */
.footer-bottom {
    margin-top: 10px;
    padding-top: 16px;
    /* border-top: 1px solid #222; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--footer-inner-max);
    margin: 0 auto;  
}

.footer-legal-links {
    display: flex;
    gap: 28px;
    margin-left: var(--footer-side-indent);
    text-align: left;
}

.footer-legal-links a {
    color: #9b9b9b;
}

.footer-copyright {
    color: #9b9b9b;
    margin-left: auto;
    margin-right: var(--footer-side-indent); /* 与右侧标签的 50px 匹配 */
    text-align: right;
}

/* 响应式微调 */
@media (max-width: 900px) {
    @media (hover: hover) {
        .footer-right-label a {
            transition:  font-size 0.3s ease, border-bottom-width 0.2s ease, transform 0.15s ease;
        }
        .footer-right-label a:hover {
            font-size: 24px;
            border-bottom-width: 4px;      /* 悬停时加粗下划线 */
            transform: translateY(-2px);   /* 轻微上移，避免大幅度换行抖动 */
        }
    }

     @media (hover: none) {
        .footer-right-label a {
            -webkit-tap-highlight-color: transparent; /* 去掉 iOS 高亮块 */
            transition: border-bottom-width 0.2s ease, transform 0.15s ease;
            outline: none;
        }
        .footer-right-label a:active,
        .footer-right-label a:focus,
        .footer-right-label a:focus-visible {
            border-bottom-width: 3px;      /* 轻微加粗下划线作为反馈 */
            transform: translateY(-1px);   /* 轻微上移 */
        }
    }
    .site-footer .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;          /* 左右两列 */
        grid-template-areas:
            "newsletter newsletter"              /* 顶部订阅区占满 */
            "leftnav rightlabel"                 /* 中段双列：左导航、右标签 */
            "logo logo"                          /* 大 Logo 占满 */
            "bottom bottom";                     /* 底部条款/版权占满 */
        row-gap: 28px;
        column-gap: 16px;
    }

    /* 2) 区域映射（不改 HTML，通过 grid-area 定位） */
    .footer-newsletter { grid-area: newsletter; }
    .footer-left-nav   { grid-area: leftnav; }
    .footer-right-label{
        grid-area: rightlabel;
        justify-content: flex-end;  /* 右列对齐 */
        text-align: right;
        margin-right: 0;
        align-self: start;          /* 顶部对齐，和左列第一行齐平 */
    }
    .footer-logo-big-wrap { grid-area: logo; }
    .footer-bottom        { grid-area: bottom; }

     .footer-form,
    .footer-social {
        max-width: var(--newsletter-width);
    }

    /* 3) 社交图标圆形外框：更大尺寸、居中分布 */
    .footer-social {
       justify-content: flex-start; /* 改为靠左 */
        margin-left: 0;              /* 避免意外外边距 */
         margin-bottom: clamp(24px, 6vw, 48px);
        width: 100%;         
    }
    .footer-social a {
        width: 44px;                 /* 加大圆形尺寸，贴近视觉 */
        height: 44px;
        border-radius: 50%;
        /* border: 1px solid #545454; */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .footer-social img {
        width: 30px;                 /* 图标相对圆框的视觉大小 */
        height: 30px;
    }

    /* 4) 左列导航：去缩进、保持较大字号与行距 */
    .footer-left-nav .footer-nav-list li {
        margin-left: 0;
        margin-bottom: 18px;
    }
    .footer-left-nav .footer-nav-list a {
        font-size: 15px;
        line-height: 19px;
        font-weight: 700;
    }

     .footer-left-nav a {
        font-size: clamp(18px, 6.8vw, 32px);
        line-height: 1.2;
        font-weight: 700; /* 保持与设计稿一致的粗细 */
    }

     .footer-left-nav li + li {
        margin-top: clamp(10px, 3.2vw, 18px);
    }

    /* 5) 右侧标签：字号与下划线（橙色 2px），右对齐 */
    .footer-right-label a {
        font-size: clamp(14px, 4.8vw, 22px);
        line-height: 1.2;
        border-bottom: 2px solid #FD5B1F;
    }

    /* 6) 大 Logo：手机端缩小并居中 */
    .footer-logo-big {
        max-width: 70%;
        display: block;
        margin: 0 auto;
    }
    .footer-logo-big-wrap {
        margin-top: 64px;
        display: flex;
        justify-content: center;
    }

    /* 7) 底部条款与版权：居中排布与间距 */
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
        gap: 32px;                   /* 拉开间距，贴近视觉 */
    }

     .footer-legal-links,
    .footer-copyright {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
}


@media (max-width: 600px) {
    /* 标题在小屏更紧凑 */
    .footer-newsletter .footer-title {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 10px;
        text-align: left;
    }

    /* 表单上下堆叠，间距更小 */
    .footer-form {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    /* 输入框与图标在手机端的触控优化 */
    .footer-input-wrapper {
        padding: 12px;
        border-radius: 6px;
    }
    .footer-email-icon {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        opacity: 0.9;
    }
    .footer-email-input {
        font-size: 15px;
        line-height: 22px;
    }

    /* 提交按钮占满宽度并居中内容 */
    .footer-submit-btn {
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 8px;
    }
    .footer-submit-btn .footer-submit-text {
        font-size: 16px;
        line-height: 22px;
    }
    .footer-submit-btn .footer-arrow-icon {
        width: 18px;
        height: 18px;
    }
}
