/* Standards block (used in Ferrite, etc.) */
.standards-section {
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('../images/15501273393122v10f4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* fixed background */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0; /* height controlled by min-height */
    min-height: 600px; /* requested height */
    display: flex;
    align-items: center; /* vertically center inner content */
}
.standards-container { text-align: center; }
.standards-title { font-size: 42px; font-weight: 800; color: var(--dark); margin: 0 0 10px; }
.title-underline.red { width: 120px; height: 4px; background: #dc2626; margin: 0 auto 24px; }
.standards-subtitle { font-size: 20px; color: var(--dark); margin: 0 0 24px; }
.standards-btn { display: inline-flex; align-items: center; gap: 10px; background: #303296; color: #fff; padding: 16px 28px; border-radius: 8px; text-decoration: none; font-weight: 800; letter-spacing: 0.5px; box-shadow: 0 10px 24px rgba(48,50,150,.25); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.standards-btn:hover { transform: translateY(-2px); background: #1f218a; box-shadow: 0 14px 28px rgba(48,50,150,.35); }
.standards-btn .arrow { font-weight: 900; font-size: 1.25em; line-height: 1; }
/* Neodymium NdFeB Magnets Page Styles */

/* CSS Variables */
:root {
    --primary-green: #303296;
    --dark: #1f2937;
    --text: #374151;
    --muted: #6b7280;
    --bg: #f5f6f7;
    --white: #fff;
    --border: #e5e7eb;
    --container: 1400px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font);
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 10px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 80px;
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #374151;
    border-radius: 50%;
    position: relative;
}

.search-icon::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 6px;
    height: 2px;
    background: #374151;
    transform: rotate(45deg);
}

.spacer {
    /*height: 80px;*/
}

/* Hero Section */
.hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #111;
}

.hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
}

.hero-title {
    position: relative;
    z-index: 2;
    margin-top: -120px;
}

.hero-title h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    margin: 18px 0;
}

.breadcrumb a {
    color: var(--text);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-green);
}

.breadcrumb-sep {
    color: var(--muted);
}

/* Intro Section (Founder-style) */
.intro {
    display: grid;
    grid-template-columns: 3fr 2fr; /* 默认：文字3，图片2 */
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

/* 指定为 2:3（图片2，文字3）的布局 */
.intro--23 {
    grid-template-columns: 2fr 3fr;
}

/* 可选：需要时可通过添加该类再次设为 图片:文字 = 3:2 */
.intro-left-media {
    grid-template-columns: 3fr 2fr;
}

.intro-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.intro .intro-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.intro .intro-lead {
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.intro .ceo-link {
    font-size: 28px;
    font-weight: 800;
    color: #059669;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 20px;
}

.intro .ceo-link:hover {
    color: #047857;
}

.intro-text p {
    color: var(--text);
    margin-bottom: 0;
    letter-spacing: 0.3px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.intro-media {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.intro-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

/* Lightbox styles */
.lightbox[aria-hidden="true"] { display: none; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
}
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(3px);
}
.lightbox-content {
    position: fixed;
    inset: 0;
    padding: 4vw;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
}
.lightbox-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
}
.lightbox-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 92vw;
    max-height: 92vh;
    overflow: hidden;
}
.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #333;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 1002;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.96);
    color: #111;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 1001;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-nav:hover { background: #fff; }

@media (max-width: 768px) {
    .lightbox-content { padding: 5vw; }
    .lightbox-nav { width: 38px; height: 38px; font-size: 24px; }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
    .lightbox-close { width: 32px; height: 32px; font-size: 18px; top: 12px; right: 12px; }
}

/* Product Types Section */
.product-types {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

.product-types-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
}

.product-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-type-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-type-image {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.product-type-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-type-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 40px;
    height: 3px;
    background: #dc2626;
    margin: 0 auto 1.5rem;
}

.product-type-description {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.learn-more-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button below image in intro--23 */
.intro-cta {
    margin: 16px 0 0;
    display: inline-flex;
}

.learn-more-btn:hover {
    background: #212529;
}

.arrow {
    font-size: 1rem;
    font-weight: bold;
}

/* Grid of Assemblies */
.section {
    padding: 30px 0 70px;
}

.section h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card .thumb {
    width: 100%;
    aspect-ratio: 16/10;
    background: #e5e7eb;
    overflow: hidden;
}

.card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.card:hover .thumb img {
    transform: scale(1.04);
}

.card .body {
    padding: 14px;
}

.card .title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.card .desc {
    color: var(--muted);
    font-size: 14px;
}

/* CTA Section */
.cta {
    background: linear-gradient(180deg, #1a1d22 0%, #21262d 100%);
    color: #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cta h4 {
    font-size: 24px;
    margin: 0;
}

.btn {
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 4px;
    height: 44px;
    padding: 0 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background: #212529;
}

/* Agent Material Support */
.agent-support {
    background: #f8f9fa;
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.agent-support h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 40px;
    text-align: center;
}

.support-gallery {
    display: flex;
    overflow: hidden;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.support-gallery-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    width: fit-content;
}

.support-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    flex-shrink: 0;
    width: 280px;
    height: 280px;
}

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

.support-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.support-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.support-item:hover .support-overlay {
    transform: translateY(0);
}

.support-overlay h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.support-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.contact-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-icon:hover {
    background: var(--primary-green);
    transform: scale(1.1);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

/* What We Do Section */
.what-we-do {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/pc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.what-we-do-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
}

.intro-paragraphs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.intro-left p,
.intro-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    text-align: center;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
}

.magnet-icon {
    color: #e53e3e;
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Automotive Applications with Background Section */
.automotive-applications {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/pc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    min-height: 500px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.applications-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.applications-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e53e3e;
}

.applications-content {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.applications-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 800px;
}

.applications-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.applications-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
    font-weight: 500;
}

.gear-icon {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.gear-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #1c64f2;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    clip-path: polygon(
        50% 0%, 60% 20%, 80% 20%, 70% 40%, 80% 60%, 60% 60%, 50% 80%, 40% 60%, 20% 60%, 30% 40%, 20% 20%, 40% 20%
    );
}

.gear-icon::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #1c64f2;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Automotive Diagram Section */
.automotive-diagram {
    background: #f8f9fa;
    padding: 60px 0;
}

.diagram-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-diagram {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.car-diagram img {
    width: 100%;
    height: auto;
    display: block;
}

.callout {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #1c64f2;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    min-width: 180px;
}

.callout-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.callout-item {
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.3;
}

/* Callout positioning */
.callout-1 {
    top: 15%;
    left: 5%;
}

.callout-2 {
    top: 20%;
    left: 25%;
}

.callout-3 {
    top: 25%;
    right: 15%;
}

.callout-4 {
    top: 45%;
    right: 10%;
}

.callout-5 {
    bottom: 25%;
    right: 20%;
}

.callout-6 {
    bottom: 15%;
    left: 20%;
}

.callout-7 {
    bottom: 30%;
    left: 5%;
}

/* Values and Development Sections */
.values-development {
    background: rgba(246, 246, 246, 1);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.vd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.vd-grid .vd-item {
    min-height: 460px;
}

.vd-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.values-text {
    padding: 40px 60px 40px 100px;
}

.development-text {
    padding: 40px 100px 40px 60px;
}

.future-text {
    padding: 40px 60px 40px 100px;
}

.vd-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.vd-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
    text-align: left;
}

.team-image {
    height: auto;
    min-height: 300px;
}

.right-image {
    height: auto;
    min-height: 300px;
}

.family-image {
    height: auto;
    min-height: 300px;
}

.values-text,
.development-text,
.future-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Additional Values and Development Sections */
.values-development-additional {
    background: rgba(246, 246, 246, 1);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.values-development-additional .vd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.values-development-additional .vd-grid .vd-item {
    min-height: 460px;
}

.values-development-additional .vd-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.values-development-additional .values-text {
    padding: 40px 60px 40px 100px;
}

.values-development-additional .development-text {
    padding: 40px 100px 40px 60px;
}

.values-development-additional .future-text {
    padding: 40px 60px 40px 100px;
}

.values-development-additional .vd-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.values-development-additional .vd-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
    text-align: left;
}

.values-development-additional .team-image {
    height: auto;
    min-height: 300px;
}

.values-development-additional .ski-image {
    height: auto;
    min-height: 300px;
}

.values-development-additional .family-image {
    height: auto;
    min-height: 300px;
}

.values-development-additional .values-text,
.values-development-additional .development-text,
.values-development-additional .future-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
    background: #f8f9fa;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.products-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.product-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 0.9rem;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
    line-height: 1.3;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.product-list li {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.product-list li::before {
    content: '→';
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.product-list li:last-child {
    margin-bottom: 0;
}

/* Industrial Magnet Holders Section */
.magnet-holders-section {
    padding: 4rem 0;
    background: var(--white);
}

.holders-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.holders-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #303296;
    margin-bottom: 2rem;
}

/* Align intro section underline to the left under the title */
.intro .title-underline {
    margin: 0 0 1.5rem 0;
}

.holders-description p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.highlight-link {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
}

.highlight-link:hover {
    text-decoration: underline;
}

.holders-image {
    position: relative;
}

.holders-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Magnetic Tools Section */
.magnetic-tools-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.tools-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tools-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.tools-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.tools-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.tools-description p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Neodymium Strength Information Section */
.strength-info {
    background: url('../images/abg.jpg') center / cover no-repeat;
    padding: 0; /* 让背景上下顶到 */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.strength-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc2626;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.strength-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #dc2626;
}

.strength-content {
    /*max-width: 1000px;*/
    margin: 0 auto;
    padding: 80px 0; /* 内部留出上下间距但不影响背景到边缘 */
}

.strength-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.strength-paragraph:last-child {
    margin-bottom: 0;
}

.strength-paragraph .highlight-text {
    color: #dc2626;
    font-weight: 600;
}

/* Responsive styles for strength info section */
@media (max-width: 768px) {
    .strength-info {
        /* 背景依旧全宽铺满 */
    }
    
    .strength-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .strength-paragraph {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .strength-title {
        font-size: 1.8rem;
    }
    
    .strength-paragraph {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Contact Form Section */
.contact-form-section {
    background: #f8f9fa;
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 0;
}

/* Samarium page: make the second intro section full-bleed background without changing inner layout */
.samarium .intro.intro--23 {
    position: relative;
}
.samarium .intro.intro--23::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    background: #f8f9fa;
    z-index: -1;
}

/* Samarium 页面专属：互换下方两块区域的背景色 */
.samarium .contact-form-section { background: #ffffff; }
.samarium .contact-form-wrapper { background: #ffffff; }
.samarium .contact-form { background: #ffffff; }
.samarium .intro.intro--23 { background: #f8f9fa; }
.samarium .intro.intro--23 .container { background: transparent; }

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.text-intro {
    padding: 2rem;
}

.text-intro h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.text-intro .highlight-text {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.text-intro ul {
    list-style: none;
    padding: 0;
}

.text-intro li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
}

.text-intro li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.contact-form-section {
    /*background: #e9ecef;*/
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 2rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #212529;
}

.required {
    color: #dc2626;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 10px;
}

.footer-mission {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: rgba(204, 204, 204, 1);
    line-height: 1.6;
    max-width: 600px;
}

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

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
    overflow: hidden;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .support-gallery {
        max-width: 900px;
    }
    .support-item {
        width: 240px;
        height: 240px;
    }
    .vd-grid .vd-item {
        min-height: 400px;
    }
    .values-text,
    .development-text,
    .future-text {
        padding: 30px 40px;
    }
}

@media (max-width: 1024px) {
    .intro {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: start;
    }
    
    .intro-content {
        order: 1;
    }
    
    .intro-media {
        order: 2;
        width: 100%;
        margin-left: 0;
    }
    .intro .intro-title {
        font-size: 32px;
    }
    .intro .intro-lead {
        font-size: 1.1rem;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero img {
        height: 420px;
    }
    .hero-title {
        margin-top: -90px;
    }
    .support-item {
        width: 220px;
        height: 220px;
    }
    .vd-grid .vd-item {
        min-height: 350px;
    }
    .values-text,
    .development-text,
    .future-text {
        padding: 25px 30px;
    }
    .vd-item h3 {
        font-size: 2rem;
    }
    .vd-item p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .nav-links {
        display: none;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .hero img {
        height: 360px;
    }
    .hero-title h1 {
        font-size: 34px;
    }
    .support-item {
        width: 200px;
        height: 200px;
    }
    .contact-icons {
        justify-content: center;
    }
    .intro .intro-title {
        font-size: 28px;
    }
    .intro .intro-lead {
        font-size: 1rem;
    }
    .intro-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    .vd-grid {
        grid-template-columns: 1fr;
    }
    .vd-grid .vd-item {
        min-height: 300px;
    }
    .values-text,
    .development-text,
    .future-text {
        padding: 20px;
    }
    .vd-item h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .vd-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .support-gallery {
        max-width: 100%;
        padding: 0 15px;
    }
    .support-gallery-wrapper {
        gap: 20px;
    }
    .agent-support h3 {
        font-size: 28px;
    }
    
    /* What We Do responsive */
    .intro-paragraphs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .what-we-do-title {
        font-size: 2rem;
    }
    
    /* Automotive Applications responsive */
    .applications-lists {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .applications-title {
        font-size: 2rem;
    }
    
    .automotive-applications {
        background-attachment: scroll;
    }
    
    /* Automotive Diagram responsive */
    .callout {
        position: static;
        margin-bottom: 15px;
        min-width: auto;
        width: 100%;
    }
    
    .car-diagram {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .callout-1, .callout-2, .callout-3, .callout-4, 
    .callout-5, .callout-6, .callout-7 {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    .hero img {
        height: 280px;
    }
    .hero-title h1 {
        font-size: 28px;
    }
    .intro .intro-title {
        font-size: 24px;
    }
    .intro .intro-lead {
        font-size: 0.95rem;
    }
    .intro-text p {
        font-size: 0.9rem;
    }
    .support-item {
        width: 160px;
        height: 160px;
    }
    .support-gallery-wrapper {
        gap: 15px;
    }
    .vd-item h3 {
        font-size: 1.6rem;
    }
    .vd-item p {
        font-size: 0.9rem;
    }
    .values-text,
    .development-text,
    .future-text {
        padding: 15px;
    }
    .agent-support h3 {
        font-size: 24px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    /* What We Do mobile */
    .what-we-do-title {
        font-size: 1.8rem;
    }
    
    .intro-left p,
    .intro-right p {
        font-size: 1rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
    
    .magnet-icon {
        font-size: 1rem;
    }
    
    /* Products mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .products-title {
        font-size: 1.8rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    /* Magnet Holders & Tools responsive */
    .holders-content,
    .tools-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .holders-title,
    .tools-title {
        font-size: 2rem;
    }
    
    .holders-description p,
    .tools-description p {
        font-size: 0.95rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    /* Automotive Applications mobile */
    .applications-title {
        font-size: 1.8rem;
    }
    
    .applications-list li {
        font-size: 0.9rem;
    }
    
    .gear-icon {
        width: 14px;
        height: 14px;
    }
    
    .gear-icon::before {
        width: 14px;
        height: 14px;
    }
    
    .gear-icon::after {
        width: 5px;
        height: 5px;
    }
    
    .automotive-applications {
        padding: 60px 0;
    }
    
    /* Contact Form responsive */
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .text-intro {
        padding: 1.5rem;
    }
    
    .text-intro li {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    /* Products responsive */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .products-title {
        font-size: 2rem;
    }
    
    /* Product Types responsive */
    .product-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-types-title {
        font-size: 2rem;
    }
    
    .product-type-card {
        padding: 1.5rem;
    }
    
    .product-type-image {
        width: 100px;
        height: 100px;
    }
    
    .product-type-title {
        font-size: 1.3rem;
    }
    
    .product-types {
        background-attachment: scroll;
    }
    
    /* Automotive Diagram mobile */
    .callout-item {
        font-size: 0.8rem;
    }
}
