/* =============================================
   KEYNES 凯恩斯 - Official Website Styles
   ============================================= */

/* CSS Custom Properties */
:root {
    --primary: #0a3d8f;
    --primary-light: #1a5fc9;
    --primary-dark: #062a66;
    --accent: #00d4ff;
    --accent-warm: #ff6b35;
    --bg-dark: #0a0e1a;
    --bg-darker: #060912;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0a3d8f 50%, #062a66 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-en: 'Orbitron', 'Rajdhani', 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-cn);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-warm);
}

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

ul {
    list-style: none;
}

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

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar-scrolled,
.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links > li > a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

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

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-primary) !important;
    color: var(--text-primary) !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    transition: all var(--transition) !important;
    border: none;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.btn-nav::after {
    display: none !important;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-top: -3px;
    transition: transform var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--transition);
}

.dropdown-menu li a:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.08);
    padding-left: 24px;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(10, 61, 143, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 32px;
    background: rgba(0, 212, 255, 0.05);
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-en {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title-zh {
    display: block;
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--text-secondary);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-subtitle-en {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.6;
    font-style: italic;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-down span {
    display: block;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-cn);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
    padding: 100px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    background: rgba(17, 24, 39, 0.9);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-card p small {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

/* =============================================
   PRODUCT CATEGORIES (Homepage)
   ============================================= */
.product-categories {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.category-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text-primary);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    color: var(--text-primary);
}

.category-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.category-arrow {
    font-size: 24px;
    color: var(--accent);
    transition: transform var(--transition);
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    letter-spacing: 2px;
}

/* =============================================
   INDUSTRIES SECTION
   ============================================= */
.industries {
    padding: 100px 0;
}

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

.industry-item {
    text-align: center;
    padding: 32px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.industry-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.industry-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.industry-item span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: 60px 0 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

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

.footer-logo .logo-text {
    font-size: 24px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.8;
}

.footer-brand .footer-en {
    font-size: 11px;
    opacity: 0.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    font-size: 13px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact ul li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    padding: 140px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    pointer-events: none;
}

.page-header-sm {
    padding: 100px 0 30px;
}

.page-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 12px;
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

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

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

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

/* =============================================
   PRODUCTS PAGE
   ============================================= */
.product-filter {
    padding: 24px 0;
    position: sticky;
    top: 60px;
    z-index: 100;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-cn);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-color: transparent;
}

.product-section {
    padding: 80px 0;
}

.product-section-alt {
    background: var(--bg-darker);
}

.product-series-title {
    margin: 40px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.product-series-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.product-series-title span {
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--gradient-primary);
    color: var(--text-primary);
    letter-spacing: 1px;
}

.product-badge.hot {
    background: linear-gradient(135deg, var(--accent-warm), #ff3d00);
}

.product-info {
    padding: 20px;
}

.product-family {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    background: rgba(0, 114, 188, 0.08);
    border: 1px solid rgba(0, 114, 188, 0.25);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-info h4 {
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.product-name {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.product-specs {
    margin-bottom: 16px;
}

.product-specs li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.product-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
    opacity: 0.6;
}

.product-card.hidden {
    display: none;
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail {
    padding: 40px 0 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.detail-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
}

.detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-main-image.contain {
    aspect-ratio: auto;
}

.detail-main-image.contain img {
    object-fit: contain;
    background: #fff;
}

.detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.detail-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 0.6;
}

.detail-thumbs img:hover,
.detail-thumbs img.active {
    border-color: var(--accent);
    opacity: 1;
}

.detail-model {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.detail-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.badge {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.badge-secondary {
    background: rgba(10, 61, 143, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(10, 61, 143, 0.4);
}

.detail-specs {
    margin-bottom: 24px;
}

.detail-specs table {
    width: 100%;
    border-collapse: collapse;
}

.detail-specs th,
.detail-specs td {
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.detail-specs th {
    color: var(--text-muted);
    font-weight: 500;
    width: 40%;
}

.detail-specs td {
    color: var(--text-primary);
}

.detail-actions {
    display: flex;
    gap: 12px;
}

/* Detail Tabs */
.detail-tabs {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    font-family: var(--font-cn);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.tab-pane {
    display: none;
    padding: 32px;
}

.tab-pane.active {
    display: block;
}

.interface-intro {
    margin-bottom: 28px;
}

.interface-intro h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.interface-intro p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.interface-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.interface-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color var(--transition);
}

.interface-section:hover {
    border-color: var(--accent);
}

.interface-section h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.interface-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-profile {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-content .section-tag {
    display: block;
    text-align: left;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-mission {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--accent) !important;
    border-left: 3px solid var(--accent);
    padding-left: 16px !important;
    margin-top: 24px !important;
}

.about-values {
    padding: 80px 0;
    background: var(--bg-darker);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.value-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.value-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.value-card small {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Certifications */
.about-cert {
    padding: 80px 0;
}

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

.cert-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.cert-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.cert-icon svg {
    width: 100%;
    height: 100%;
}

.cert-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Timeline */
.about-timeline {
    padding: 80px 0;
    background: var(--bg-darker);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-darker);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--accent);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-detail {
    font-size: 13px !important;
    color: var(--text-muted) !important;
}

.contact-item a {
    color: var(--accent);
    font-weight: 500;
}

/* Quick Contact Channels */
.channel-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition);
}

a.channel-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background: rgba(0, 212, 255, 0.1);
}

.channel-icon.wechat {
    background: rgba(7, 193, 96, 0.12);
}

.channel-icon.email {
    background: rgba(255, 159, 28, 0.12);
}

.channel-content {
    flex: 1;
    min-width: 0;
}

.channel-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.channel-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.channel-arrow {
    font-size: 13px;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.wechat-id {
    color: var(--accent);
    cursor: pointer;
    border-bottom: 1px dashed rgba(0, 212, 255, 0.5);
}

.wechat .channel-qr {
    flex-shrink: 0;
}

.wechat .channel-qr img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #fff;
}

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(17, 24, 39, 0.95);
    color: #e5e7eb;
    border: 1px solid rgba(0, 212, 255, 0.4);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Map */
.contact-map {
    padding: 60px 0;
    background: var(--bg-darker);
}

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

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.map-placeholder {
    padding: 60px;
    text-align: center;
    background: var(--bg-card);
}

.map-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.delay-1 { animation-delay: 0.2s; animation-fill-mode: both; }
.delay-2 { animation-delay: 0.4s; animation-fill-mode: both; }
.delay-3 { animation-delay: 0.6s; animation-fill-mode: both; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        transition: right var(--transition);
        border-left: 1px solid var(--border-color);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links > li {
        width: 100%;
    }
    
    .nav-links > li > a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links > li > a::after {
        display: none;
    }
    
    .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0 0 0 16px;
        min-width: auto;
        box-shadow: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .btn-nav {
        margin-top: 16px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .wechat .channel-qr img {
        width: 64px;
        height: 64px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .interface-list {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 0 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title-en {
        letter-spacing: 4px;
    }
    
    .hero-title-zh {
        letter-spacing: 3px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .detail-tabs .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
        font-size: 13px;
        padding: 12px 16px;
    }
}
