/* ============================================
   ABOUT PAGE - COMPLETE STYLESHEET
   完全匹配React原型
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(to bottom, #f9fafb 0%, #f3f4f6 50%, #f9fafb 100%);
    min-height: 100vh;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

button {
    font-family: inherit;
}

/* ============================================
   NAVIGATION BAR - 白色背景固定导航栏
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 90px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    padding: 0.5rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
}

.nav-links a.active {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    margin-left: auto;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.mobile-menu-button:hover { background: #f3f4f6; }
.mobile-menu-button svg { width: 24px; height: 24px; color: #111827; }
#navbar .mobile-menu {
    display: none !important;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    padding: 1rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    z-index: 999;
}
#navbar .mobile-menu.open { display: block !important; }
#navbar .mobile-menu-content { display: flex; flex-direction: column; gap: 0.25rem; }
#navbar .mobile-menu-content > a,
#navbar .mobile-nav-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.mobile-nav-item:hover { background: rgba(243, 244, 246, 0.8); }
.mobile-nav-item.active { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.mobile-nav-sub-item { padding-left: 2rem; font-size: 0.8125rem; color: #6b7280; }
.btn-primary-mobile { margin-top: 0.5rem; background: #06b6d4; color: white !important; text-align: center; font-weight: 600; }
.btn-primary-mobile:hover { background: #0891b2; }

@media (max-width: 1023px) {
    .nav-links { display: none !important; }
    .mobile-menu-button { display: block !important; }
}

.btn-primary {
    padding: 0.625rem 1.5rem;
    margin-left: 1rem;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: white;
    border-radius: 0.5rem;
    font-weight: bold;
    box-shadow: 0 4px 6px -1px rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, #22d3ee, #60a5fa);
    transform: translateY(-1px);
}

/* === Navigation Dropdown === */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
}

.dropdown-trigger.active {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
}

.icon-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .icon-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 50;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    width: 14rem;
    background: white;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.1);
    padding: 0.5rem;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
}

/* ============================================
   MAIN CONTENT - 顶部padding避开固定导航栏
   ============================================ */

.main-content {
    padding-top: 5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #111827 0%, rgba(17, 24, 39, 0.8) 50%, transparent 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
}

.hero-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #22d3ee;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

/* ============================================
   SECTION LAYOUTS
   ============================================ */

.section {
    padding: 4rem 1.5rem;
}

.section-container {
    max-width: 80rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6b7280;
}

/* ============================================
   COMPANY OVERVIEW SECTION
   ============================================ */

.overview-section {
    padding: 4rem 1.5rem;
}

.overview-container {
    max-width: 56rem;
    margin: 0 auto;
}

.overview-text {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
}

/* ============================================
   MILESTONES SECTION
   ============================================ */

.milestones-section {
    padding: 4rem 1.5rem;
    background: rgba(249, 250, 251, 0.5);
}

.milestones-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .milestones-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.milestone-card {
    text-align: center;
    background: rgba(243, 244, 246, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.milestone-year {
    font-size: 2.25rem;
    font-weight: 700;
    color: #22d3ee;
    margin-bottom: 0.75rem;
}

.milestone-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.milestone-desc {
    color: #6b7280;
}

/* ============================================
   CORPORATE CULTURE SECTION
   ============================================ */

.culture-section {
    padding: 4rem 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    text-align: center;
    background: rgba(249, 250, 251, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: border-color 0.3s;
}

.value-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.value-icon {
    width: 3rem;
    height: 3rem;
    color: #22d3ee;
    margin: 0 auto 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.value-desc {
    color: #6b7280;
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */

.certifications-section {
    padding: 4rem 1.5rem;
    background: rgba(249, 250, 251, 0.5);
}

.certifications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.certification-card {
    text-align: center;
    background: rgba(243, 244, 246, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.cert-icon {
    width: 3rem;
    height: 3rem;
    color: #22d3ee;
    margin: 0 auto 1rem;
}

.cert-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.cert-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============================================
   PRODUCTION CAPABILITIES SECTION
   ============================================ */

.capabilities-section {
    padding: 4rem 1.5rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.capability-item {
    background: rgba(249, 250, 251, 0.8);
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
}

.capability-label {
    color: #4b5563;
}

.capability-value {
    font-weight: 700;
    color: #22d3ee;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(to right, #0891b2, #3b82f6);
}

.cta-container {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.factory-icon {
    width: 4rem;
    height: 4rem;
    color: #111827;
    margin: 0 auto 1.5rem;
}

.cta-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.location {
    font-size: 1.25rem;
    color: #ecfeff;
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
    color: #ecfeff;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.btn-visit {
    padding: 1rem 2rem;
    background: white;
    color: #0891b2;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-visit:hover {
    background: #f3f4f6;
}

/* ============================================
   FOOTER - 与首页统一
   ============================================ */

footer {
    background: #f3f4f6;
    color: #6b7280;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 10rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #22d3ee;
}

.footer-bottom {
    border-top: 1px solid #d1d5db;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.qr-codes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 24rem;
    margin-top: 1.5rem;
}

.qr-code {
    text-align: center;
}

.qr-code-img {
    width: 5rem;
    height: 5rem;
    background: #d1d5db;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.qr-code-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-code-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hero动画立即显示 */
.hero .fade-in {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}
