/* ===== CSS Variables & Reset ===== */
:root {
    --orange: #FF6B35;
    --blue: #00B4D8;
    --orange-light: #FF8A5C;
    --blue-light: #48CAE4;
    --orange-pale: rgba(255, 107, 53, 0.12);
    --blue-pale: rgba(0, 180, 216, 0.10);
    --dark: #1A1A2E;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    --shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.18);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Floating Decorations ===== */
.float-deco {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    opacity: 0.15;
    animation: floatUpDown var(--duration, 12s) ease-in-out infinite alternate;
}
.float-deco--1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--orange), transparent 70%);
    top: 8%;
    left: -5%;
    --duration: 14s;
    opacity: 0.10;
}
.float-deco--2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--blue), transparent 70%);
    bottom: 20%;
    right: -3%;
    --duration: 18s;
    opacity: 0.12;
}
.float-deco--3 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--orange-light), transparent 70%);
    top: 50%;
    left: 60%;
    --duration: 16s;
    opacity: 0.08;
}
.float-deco--4 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--blue-light), transparent 70%);
    bottom: 40%;
    left: 8%;
    --duration: 13s;
    opacity: 0.10;
}
.float-deco--star {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.10;
    animation: spinFloat 20s linear infinite;
}
.float-deco--star svg {
    width: 60px;
    height: 60px;
    fill: var(--orange);
}
.float-deco--star:nth-child(2) {
    top: 30%;
    right: 5%;
    animation-duration: 25s;
    opacity: 0.08;
}
.float-deco--star:nth-child(3) {
    bottom: 10%;
    left: 12%;
    animation-duration: 18s;
    opacity: 0.06;
}
.float-deco--star:nth-child(4) {
    top: 60%;
    left: 3%;
    animation-duration: 22s;
    opacity: 0.07;
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }
    100% {
        transform: translateY(-40px) scale(1.05) rotate(3deg);
    }
}
@keyframes spinFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* ===== Header / Nav ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.4s ease;
    background: transparent;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 2rem;
    color: var(--white);
    transition: color 0.3s ease;
    flex-shrink: 0;
}
.header.scrolled .logo {
    color: var(--dark);
}
.logo-icon {
    width: 90px;            /* 尺寸放大到 48px，可自行调整 */
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.logo-text {
    letter-spacing: -0.02em;
}
.logo-text span {
    color: var(--orange);
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    padding: 4px 0;
}
.header.scrolled .nav-menu a {
    color: var(--dark);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2.5px;
    background: var(--orange);
    transition: width 0.3s ease;
    border-radius: 4px;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}
.nav-menu a:hover {
    color: var(--orange);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.header.scrolled .nav-toggle span {
    background: var(--dark);
}
.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #F8F4F0 0%, #F0EAE4 30%, #FDFAF5 60%, #E8DFD8 100%);
	
    padding: 120px 24px 80px;
    isolation: isolate;
}
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-shapes .shape {
    position: absolute;
    opacity: 0.15;
    border-radius: 12px;
}
.hero-shapes .shape--circle {
    border-radius: 50%;
    background: var(--white);
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    opacity: 0.10;
}
.hero-shapes .shape--triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid rgba(255, 255, 255, 0.12);
    bottom: 40px;
    left: 20px;
    border-radius: 0;
}
.hero-shapes .shape--square {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    top: 30%;
    right: 12%;
    transform: rotate(25deg);
    border-radius: 16px;
}
.hero-shapes .shape--diamond {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.07);
    bottom: 25%;
    left: 8%;
    transform: rotate(45deg);
    border-radius: 8px;
}
.hero-shapes .shape--star {
    position: absolute;
    color: rgba(255, 255, 255, 0.12);
    font-size: 80px;
    top: 15%;
    left: 20%;
    transform: rotate(-10deg);
}
.hero-shapes .shape--ring {
    width: 200px;
    height: 200px;
    border: 4px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: 10%;
    right: 20%;
}
.hero-shapes .shape--dots {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 2px, transparent 2px);
    background-size: 30px 30px;
    top: 5%;
    left: 5%;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    color: var(--white);
    animation: heroFadeIn 1.2s ease forwards;
}
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
}
.hero h1 .highlight {
    background: linear-gradient(to right, #FFD166, #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.hero .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--orange);
    padding: 16px 44px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
.hero .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
    background: var(--white);
    color: var(--orange);
}
.hero .btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.hero .btn-primary:hover svg {
    transform: translateX(6px);
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounceDown 2.4s ease-in-out infinite;
    letter-spacing: 0.5px;
}
.hero-scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.50), transparent);
}
@keyframes bounceDown {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ===== Section Shared ===== */
.section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
    background: var(--orange-pale);
    padding: 4px 16px;
    border-radius: 100px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.section-title .highlight {
    color: var(--orange);
}
.section-sub {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 540px;
    line-height: 1.7;
}
.section-header {
    margin-bottom: 56px;
}
.section-header.centered {
    text-align: center;
}
.section-header.centered .section-sub {
    margin: 0 auto;
}

/* ===== About ===== */
.about {
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.about-text .about-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.about-text .about-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}
.about-text .about-meta-item .icon {
    font-size: 1.3rem;
}
/* ===== 照片网格（4个等大方框） ===== */
.about-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.photo-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light-gray);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    aspect-ratio: 1 / 1;
}

.photo-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.60));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    text-align: center;
}
/* ===== Patents ===== */
.patents {
    background: var(--light-gray);
}

.patents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.patent-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
    border: 1px solid rgba(255, 107, 53, 0.06);
    position: relative;
    overflow: hidden;
}

.patent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.patent-card:hover::before {
    transform: scaleX(1);
}

.patent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.patent-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: block;
}

.patent-card .patent-number {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--orange);
    background: var(--orange-pale);
    padding: 2px 14px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.patent-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.patent-card .patent-desc {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.patent-card .patent-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-pale);
    padding: 2px 14px;
    border-radius: 100px;
}

/* 专利统计横幅 */
.patent-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.patent-stat-item {
    text-align: center;
    padding: 16px;
}

.patent-stat-item .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.patent-stat-item .stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 4px;
    font-weight: 500;
}

/* 响应式 */
@media (max-width: 1024px) {
    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .patent-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .patent-card {
        padding: 20px 16px;
    }
    .patent-icon {
        font-size: 2.2rem;
    }
    .patent-card h4 {
        font-size: 0.95rem;
    }
    .patent-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 28px;
        padding-top: 28px;
    }
    .patent-stat-item .stat-number {
        font-size: 1.8rem;
    }
    .patent-stat-item .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .patents-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .patent-card {
        padding: 16px 12px;
    }
    .patent-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    .patent-card h4 {
        font-size: 0.85rem;
    }
    .patent-card .patent-desc {
        font-size: 0.78rem;
    }
    .patent-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
    .patent-stat-item .stat-number {
        font-size: 1.4rem;
    }
    .patent-stat-item .stat-label {
        font-size: 0.7rem;
    }
}

/* ===== Products ===== */
.products {
    background: var(--light-gray);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: var(--shadow-hover);
}
.product-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--light-gray);
    transition: transform 0.6s ease;
}
.product-card:hover .card-img {
    transform: scale(1.03);
}
.product-card .card-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card .card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue);
    background: var(--blue-pale);
    padding: 2px 14px;
    border-radius: 100px;
    margin-bottom: 8px;
    align-self: flex-start;
}
.product-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.product-card .card-sub {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 14px;
    flex: 1;
}
.product-card .card-link {
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
    font-size: 0.95rem;
    align-self: flex-start;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}
.product-card .card-link:hover {
    gap: 12px;
    color: var(--orange);
    border-bottom-color: var(--orange);
}
.product-card .card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.product-card .card-link:hover svg {
    transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.70);
    padding: 50px 0 30px;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.3rem;
}
.footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.7;
    opacity: 0.70;
}
.footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer ul a {
    font-size: 0.92rem;
    opacity: 0.70;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.footer ul a:hover {
    opacity: 1;
    color: var(--orange);
}
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.60);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-social a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--orange);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.60;
}

/* ===== 模态框 Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: modalFadeIn 0.3s ease;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: var(--white);
    max-width: 440px;
    width: 100%;
    padding: 40px 36px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    text-align: center;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover {
    color: var(--dark);
    transform: rotate(90deg);
}
.modal-icon {
    font-size: 3.6rem;
    margin-bottom: 8px;
}
.modal-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.modal-box p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: scale(0.90) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        display: grid;
    grid-template-columns: 1fr 1.2fr;   /* 右侧更宽 */
    gap: 60px;
    align-items: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 40px;
        gap: 20px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
        transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        align-items: flex-start;
        border-radius: 0 0 0 24px;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu a {
        color: var(--dark) !important;
        font-size: 1.1rem;
        padding: 8px 0;
    }
    .nav-toggle {
        display: flex;
    }
    .header.scrolled .nav-toggle span {
        background: var(--dark);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.photo-caption {
    font-size: 0.7rem;
    padding: 8px 10px;
}
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }
    .hero .btn-primary {
        padding: 14px 32px;
        font-size: 0.95rem;
    }
    .section {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 36px;
    }
    .product-card .card-img {
        height: 160px;
    }
    .product-card .card-body {
        padding: 16px 18px 20px;
    }
    .hero-scroll-indicator {
        display: none;
    }
    .float-deco {
        display: none;
    }
}
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
    .hero {
        padding: 100px 16px 60px;
        min-height: 90vh;
    }
    .hero .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .container {
        padding: 0 16px;
    }
	.about-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.photo-caption {
    font-size: 0.65rem;
    padding: 6px 8px;
}
}
.text-orange {
    color: var(--orange);
}
/* ===== 品牌故事页面 - 图片放大模态框 ===== */
.image-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    animation: modalFadeIn 0.35s ease;
}

.image-modal-overlay.active {
    display: flex;
}

.image-modal-box {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    cursor: default;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.60);
}

.image-modal-box img {
    display: block;
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.image-modal-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-close:hover {
    transform: rotate(90deg);
    background: var(--orange);
    color: var(--white);
}

.image-modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.70));
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: scale(0.90) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== 品牌故事页面 - 专利区域增强 ===== */
.patents {
    background: var(--light-gray);
}

.patents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.patent-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
    border: 1px solid rgba(255, 107, 53, 0.06);
    position: relative;
    overflow: hidden;
}

.patent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.patent-card:hover::before {
    transform: scaleX(1);
}

.patent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.patent-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: block;
}

.patent-card .patent-number {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--orange);
    background: var(--orange-pale);
    padding: 2px 14px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.patent-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.patent-card .patent-desc {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.patent-card .patent-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-pale);
    padding: 2px 14px;
    border-radius: 100px;
}

.patent-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.patent-stat-item {
    text-align: center;
    padding: 16px;
}

.patent-stat-item .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.patent-stat-item .stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .patent-card {
        padding: 20px 16px;
    }
    .patent-icon {
        font-size: 2.2rem;
    }
    .patent-card h4 {
        font-size: 0.95rem;
    }
    .patent-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 28px;
        padding-top: 28px;
    }
    .patent-stat-item .stat-number {
        font-size: 1.8rem;
    }
    .patent-stat-item .stat-label {
        font-size: 0.8rem;
    }
    .image-modal-overlay {
        padding: 20px;
    }
    .image-modal-box {
        max-width: 95vw;
        max-height: 80vh;
    }
    .image-modal-box img {
        max-width: 95vw;
        max-height: 80vh;
    }
    .image-modal-close {
        top: -12px;
        right: -12px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .image-modal-caption {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .patents-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .patent-card {
        padding: 16px 12px;
    }
    .patent-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    .patent-card h4 {
        font-size: 0.85rem;
    }
    .patent-card .patent-desc {
        font-size: 0.78rem;
    }
    .patent-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
    .patent-stat-item .stat-number {
        font-size: 1.4rem;
    }
    .patent-stat-item .stat-label {
        font-size: 0.7rem;
    }
    .image-modal-overlay {
        padding: 12px;
    }
    .image-modal-box {
        max-width: 98vw;
        max-height: 75vh;
    }
    .image-modal-box img {
        max-width: 98vw;
        max-height: 75vh;
    }
    .image-modal-close {
        top: -8px;
        right: -8px;
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .image-modal-caption {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}

//1111
/* Tab外层容器：水平居中，垂直上下排列 */
.patent-tab-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 auto 40px;
    width: 100%;
}
/* Tab固定短宽度，不会超长 */
.patent-tab {
    width: 160px;
    padding: 12px 0;
    text-align: center;
    border-radius: 999px;
    border: 1px solid #eee;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}
/* 国内激活橙色 */
.patent-tab.domestic.active {
    background: #E87A2D;
    color: #fff;
    border-color: #E87A2D;
}
/* 国外默认白底黑字 */
.patent-tab.foreign {
    background: #ffffff;
    color: #111;
}
.patent-tab.foreign.active {
    background: #f0f0f0;
    color: #111;
    border-color: #ddd;
}

/* 卡片网格 */
.patent-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 专利卡片公共类 */
.patent-card-item {
    background:#f8f8f8;
    border-radius:10px;
    overflow:hidden;
    transition:0.3s ease;
    border:1px solid #eee;
}
.patent-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

/* 图片容器 空白无浅灰、完整显示图片不裁切 */
.card-img-box {
    width:100%;
    aspect-ratio:4/3;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px;
}
.card-img-box img {
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    cursor:zoom-in;
    display:block;
}

/* 文字区域统一 */
.card-text {
    padding:20px;
}
.card-text h4 {
    font-size:16px;
    color:#111;
    font-weight:600;
    margin-bottom:12px;
}
.card-text p {
    color:#555;
    font-size:14px;
    line-height:1.7;
    margin-bottom:16px;
}
/* 分割线 */
.divider {
    width:100%;
    height:1px;
    background:#ddd;
    margin:16px 0;
}
.patent-no {
    color:#888;
    font-size:14px;
}

/* 列表切换 */
.patent-list {
    display: none;
}
.patent-list.show {
    display: block;
}

/* 响应式 */
@media (max-width: 1200px) {
    .patent-card-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 640px) {
    .patent-card-grid {
        grid-template-columns: 1fr;
    }
    .patent-tab {
        width: 130px;
        padding:10px 0;
        font-size:14px;
    }
}