/* ========================================
   MistPharm - Medical Professional Theme
   Clean, White, with Gold Accents
   ======================================== */

:root {
    /* Core Colors - Medical Professional */
    --primary: #c9a86c;           /* Gold/Champagne */
    --primary-light: #e8d5b0;
    --primary-dark: #a08050;
    --secondary: #2d3748;         /* Dark blue-gray */
    --accent: #f5a962;            /* Soft orange */
    --accent-light: rgba(245, 169, 98, 0.15);
    
    /* Background & Surface */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #fdfbf7;
    --bg-gray: #f1f3f5;
    
    /* Text */
    --text-dark: #1a202c;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-muted: #a0aec0;
    
    /* Borders & Lines */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 10px 40px rgba(201, 168, 108, 0.2);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #c9a86c 0%, #e8d5b0 50%, #c9a86c 100%);
    --gradient-warm: linear-gradient(135deg, #f5a962 0%, #c9a86c 100%);
    --gradient-curve: linear-gradient(45deg, rgba(245, 169, 98, 0.1) 0%, transparent 60%);
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul, ol {
    list-style: none;
}

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

/* 确保轮播图片不受通用img规则影响 */
.product-visual .epmdi-carousel .carousel-slide .carousel-image {
    max-width: 178px !important;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Background Decorations
   ======================================== */
.bg-grid {
    display: none;
}

.bg-particles {
    display: none;
}

/* Decorative Curves */
.curve-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(245, 169, 98, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

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

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--text-dark);
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 20px;
    border: 1px solid var(--border-medium);
    border-radius: 30px;
    transition: var(--transition-normal);
}

.lang-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-toggle .lang-active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-normal);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(201, 168, 108, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-cream);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    border: 2px solid rgba(245, 169, 98, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    right: -100px;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(201, 168, 108, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin-bottom: 25px;
    color: var(--text-dark);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

.stat-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-unit {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-medium);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 375px;
    width: 100%;
}

.hero-device-image {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: none;
}

.device-showcase-img {
    width: auto;
    height: 67%;
    min-height: 350px;
    max-width: none;
    max-height: 67vh;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    display: block;
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.device-showcase-img:hover {
    transform: none;
}

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

.chip-model {
    position: relative;
    width: 400px;
    height: 450px;
}

.chip-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 280px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chip-glow {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 100px;
    background: var(--bg-gray);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.chip-glow::after {
    content: '168';
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.chip-grid {
    display: none;
}

.chip-circuit {
    position: absolute;
    width: 30px;
    height: 50px;
    background: var(--primary);
    border-radius: 8px;
    right: 15px;
    top: 30px;
}

.circuit-2, .circuit-3 {
    display: none;
}

.mist-particles {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.mist-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: mist-rise-soft 2s infinite;
    opacity: 0.6;
}

.mist-particles span:nth-child(1) { left: -15px; animation-delay: 0s; }
.mist-particles span:nth-child(2) { left: -5px; animation-delay: 0.2s; }
.mist-particles span:nth-child(3) { left: 5px; animation-delay: 0.4s; }
.mist-particles span:nth-child(4) { left: 15px; animation-delay: 0.6s; }
.mist-particles span:nth-child(5) { left: 25px; animation-delay: 0.8s; }
.mist-particles span:nth-child(6) { left: 35px; animation-delay: 1s; }

@keyframes mist-rise-soft {
    0% { transform: translateY(0) scale(1); opacity: 0.6; }
    100% { transform: translateY(-60px) scale(0.3); opacity: 0; }
}

.chip-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(245, 169, 98, 0.15);
    border-radius: 50%;
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation: ring-pulse 4s ease-in-out infinite;
}

.ring-2 {
    width: 380px;
    height: 380px;
    animation: ring-pulse 4s ease-in-out infinite 0.5s;
}

.ring-3 {
    width: 460px;
    height: 460px;
    animation: ring-pulse 4s ease-in-out infinite 1s;
}

@keyframes ring-pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.02); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.5; height: 40px; }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 2px;
    background: var(--primary);
}

.section-header.center .section-tag {
    padding-left: 0;
}

.section-header.center .section-tag::before {
    display: none;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-white);
}

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

.about-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-card {
    padding: 35px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    position: relative;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 0.15em;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.company-info {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.company-info::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(245, 169, 98, 0.1);
    border-radius: 50%;
}

.company-badge {
    margin-bottom: 30px;
}

.hex-icon {
    font-size: 3.5rem;
    color: var(--primary);
}

.company-names {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.company-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.location-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 6px;
    box-shadow: 0 0 0 4px rgba(201, 168, 108, 0.2);
}

.company-item strong {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.company-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   Products Section
   ======================================== */
.products {
    background: var(--bg-light);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 100px;
    left: -200px;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(245, 169, 98, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.product-showcase {
    display: grid;
    grid-template-columns: 650px 1fr !important;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
    padding: 60px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

.product-showcase::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(245, 169, 98, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

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

.product-showcase.reverse {
    direction: rtl;
}

.product-showcase.reverse > * {
    direction: ltr;
}

/* Product Visuals */
.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    width: 650px !important;
    max-width: 650px !important;
}

/* ePmdi Carousel */
.product-visual .epmdi-carousel {
    position: relative !important;
    width: 600px !important;
    max-width: 600px !important;
    margin: 0 auto;
    overflow: visible !important;
    border-radius: 20px;
}

.product-visual .epmdi-carousel .carousel-container {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 426px !important;
    overflow: hidden !important;
    display: block;
    border-radius: 20px;
}

.product-visual .epmdi-carousel .carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 500% !important;
    height: auto !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    transform: translateX(0) !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.product-visual .epmdi-carousel .carousel-slide {
    width: 20% !important;
    min-width: 20% !important;
    max-width: 20% !important;
    flex: 0 0 20% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 50px 20px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 426px !important;
    height: auto !important;
}

.product-visual .epmdi-carousel .carousel-image {
    width: 580px !important;
    height: 326px !important;
    max-height: 326px !important;
    max-width: 580px !important;
    min-height: 326px !important;
    object-fit: contain !important;
    border-radius: 15px;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.product-visual .epmdi-carousel .carousel-image:hover {
    transform: scale(1.02);
}

.product-visual .epmdi-carousel .carousel-btn {
    position: absolute !important;
    top: calc(50px + 163px) !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    transition: all var(--transition-normal) !important;
    box-shadow: none !important;
    color: var(--primary) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.product-visual .epmdi-carousel .carousel-btn:hover {
    background: transparent !important;
    color: var(--primary) !important;
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: none !important;
    opacity: 0.8 !important;
}

.product-visual .epmdi-carousel .carousel-btn:active {
    transform: translateY(-50%) scale(1.0);
    opacity: 0.6 !important;
}

.product-visual .epmdi-carousel .carousel-prev {
    left: 20px;
}

.product-visual .epmdi-carousel .carousel-next {
    right: 20px;
}

.product-visual .epmdi-carousel .carousel-btn svg {
    width: 50px !important;
    height: 50px !important;
    display: block !important;
    stroke: var(--primary) !important;
    fill: none !important;
}

.product-visual .epmdi-carousel .carousel-indicators {
    position: absolute;
    top: calc(50px + 326px + 15px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.product-visual .epmdi-carousel .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.product-visual .epmdi-carousel .indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

.product-visual .epmdi-carousel .indicator:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

/* eSMI Carousel - 复用ePmdi的样式 */
.product-visual .esmi-carousel {
    position: relative !important;
    width: 600px !important;
    max-width: 600px !important;
    margin: 0 auto;
    overflow: visible !important;
    border-radius: 20px;
}

.product-visual .esmi-carousel .carousel-container {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 426px !important;
    overflow: hidden !important;
    display: block;
    border-radius: 20px;
}

.product-visual .esmi-carousel .carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 300% !important;
    height: auto !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    transform: translateX(0) !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.product-visual .esmi-carousel .carousel-slide {
    width: 33.333% !important;
    min-width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 50px 20px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 426px !important;
    height: auto !important;
}

.product-visual .esmi-carousel .carousel-image {
    width: 580px !important;
    height: 326px !important;
    max-height: 326px !important;
    max-width: 580px !important;
    min-height: 326px !important;
    object-fit: contain !important;
    border-radius: 15px;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.product-visual .esmi-carousel .carousel-image:hover {
    transform: scale(1.02);
}

.product-visual .esmi-carousel .carousel-btn {
    position: absolute !important;
    top: calc(50px + 163px) !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    transition: all var(--transition-normal) !important;
    box-shadow: none !important;
    color: var(--primary) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.product-visual .esmi-carousel .carousel-btn:hover {
    background: transparent !important;
    color: var(--primary) !important;
    transform: translateY(-50%) scale(1.2) !important;
    box-shadow: none !important;
    opacity: 0.8 !important;
}

.product-visual .esmi-carousel .carousel-btn:active {
    transform: translateY(-50%) scale(1.0);
    opacity: 0.6 !important;
}

.product-visual .esmi-carousel .carousel-prev {
    left: 20px;
}

.product-visual .esmi-carousel .carousel-next {
    right: 20px;
}

.product-visual .esmi-carousel .carousel-btn svg {
    width: 50px !important;
    height: 50px !important;
    display: block !important;
    stroke: var(--primary) !important;
    fill: none !important;
}

.product-visual .esmi-carousel .carousel-indicators {
    position: absolute;
    top: calc(50px + 326px + 15px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.product-visual .esmi-carousel .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.product-visual .esmi-carousel .indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

.product-visual .esmi-carousel .indicator:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.product-model {
    position: relative;
    width: 280px;
    height: 380px;
}

/* MistChip Image */
#product-mistchip .product-visual {
    padding: 50px 20px;
    box-sizing: border-box;
    min-height: 426px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mistchip-image {
    width: 580px !important;
    height: 326px !important;
    max-height: 326px !important;
    max-width: 580px !important;
    min-height: 326px !important;
    object-fit: contain !important;
    border-radius: 15px;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.mistchip-image:hover {
    transform: scale(1.02);
}

/* ePmdi Device - Medical Style */
.model-epmdi .device-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 220px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 25px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.device-screen {
    position: absolute;
    top: 25px;
    left: 20px;
    right: 20px;
    height: 70px;
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}

.screen-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.data-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.data-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.screen-wave {
    position: absolute;
    bottom: 8px;
    left: 12px;
    right: 12px;
    height: 15px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 4px,
        var(--primary) 4px,
        var(--primary) 5px
    );
    opacity: 0.4;
    animation: wave-scroll 3s linear infinite;
}

@keyframes wave-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-10px); }
}

.device-indicator {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: indicator-blink 2s infinite;
}

@keyframes indicator-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.breath-sensor {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.sensor-ring {
    display: block;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: sensor-pulse 2.5s infinite;
    opacity: 0.5;
}

.sensor-ring:nth-child(2) { animation-delay: 0.4s; }
.sensor-ring:nth-child(3) { animation-delay: 0.8s; }

@keyframes sensor-pulse {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.device-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(201, 168, 108, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.device-glow.cyan {
    background: radial-gradient(ellipse at center, rgba(201, 168, 108, 0.15) 0%, transparent 70%);
}

.device-glow.purple {
    background: radial-gradient(ellipse at center, rgba(201, 168, 108, 0.15) 0%, transparent 70%);
}

/* eSMI Device - Medical Style */
.model-esmi .smart-device {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.smart-body {
    width: 100px;
    height: 200px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 50px 50px 25px 25px;
    border: 1px solid var(--border-light);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.smart-lens {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--bg-gray) 50%, var(--bg-light) 100%);
    border-radius: 50%;
    border: 3px solid var(--border-light);
}

.smart-nozzle {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 45px;
    background: linear-gradient(180deg, #e2e8f0 0%, #f8f9fa 100%);
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--border-light);
}

.mist-spray {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
}

.mist-spray span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: spray-soft 1.8s infinite;
    opacity: 0.6;
}

.mist-spray span:nth-child(1) { left: -20px; animation-delay: 0s; }
.mist-spray span:nth-child(2) { left: -10px; animation-delay: 0.15s; }
.mist-spray span:nth-child(3) { left: 0; animation-delay: 0.3s; }
.mist-spray span:nth-child(4) { left: 10px; animation-delay: 0.15s; }
.mist-spray span:nth-child(5) { left: 20px; animation-delay: 0s; }

@keyframes spray-soft {
    0% { transform: translateY(0) scale(1); opacity: 0.6; }
    100% { transform: translateY(50px) scale(0.2); opacity: 0; }
}

.smart-interface {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.interface-bar {
    width: 45px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
    opacity: 0.4;
    animation: bar-blink 2s infinite;
}

.interface-bar:nth-child(2) { width: 35px; animation-delay: 0.3s; }
.interface-bar:nth-child(3) { width: 40px; animation-delay: 0.6s; }

@keyframes bar-blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* MistChip - Medical Style */
.model-chip .silicon-chip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) perspective(600px) rotateX(25deg);
    width: 200px;
    height: 200px;
}

.chip-surface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.micro-channels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.micro-channels span {
    width: 35px;
    height: 35px;
    background: rgba(201, 168, 108, 0.1);
    border: 1px solid rgba(201, 168, 108, 0.3);
    border-radius: 8px;
    animation: channel-pulse-soft 2.5s infinite;
}

.micro-channels span:nth-child(1) { animation-delay: 0s; }
.micro-channels span:nth-child(2) { animation-delay: 0.15s; }
.micro-channels span:nth-child(3) { animation-delay: 0.3s; }
.micro-channels span:nth-child(4) { animation-delay: 0.45s; }
.micro-channels span:nth-child(5) { animation-delay: 0.6s; }
.micro-channels span:nth-child(6) { animation-delay: 0.75s; }
.micro-channels span:nth-child(7) { animation-delay: 0.9s; }
.micro-channels span:nth-child(8) { animation-delay: 1.05s; }
.micro-channels span:nth-child(9) { animation-delay: 1.2s; }

@keyframes channel-pulse-soft {
    0%, 100% { background: rgba(201, 168, 108, 0.1); }
    50% { background: rgba(201, 168, 108, 0.25); }
}

.chip-nodes {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
}

.chip-nodes span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.2);
}

.chip-nodes span:nth-child(1) { top: 0; left: 0; }
.chip-nodes span:nth-child(2) { top: 0; right: 0; }
.chip-nodes span:nth-child(3) { bottom: 0; left: 0; }
.chip-nodes span:nth-child(4) { bottom: 0; right: 0; }

.chip-edge {
    position: absolute;
    bottom: -12px;
    left: 15%;
    right: 15%;
    height: 12px;
    background: linear-gradient(180deg, #e2e8f0 0%, #f8f9fa 100%);
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-light);
    border-top: none;
}

.chip-specs {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.spec-item {
    text-align: center;
    background: var(--bg-white);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

.spec-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* Product Info */
.product-info {
    padding: 20px 0;
}

.product-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

.product-name {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 30px;
}

.product-features {
    margin-bottom: 30px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.product-features li:hover {
    color: var(--text-dark);
    padding-left: 10px;
}

.feature-icon {
    color: var(--primary);
    font-size: 0.6rem;
}

.product-desc {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 25px;
}

.applications {
    margin-bottom: 30px;
}

.app-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.app-icons {
    display: flex;
    gap: 35px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--bg-cream);
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.app-icon {
    font-size: 1.8rem;
}

.app-item span:last-child {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ========================================
   Technology Section
   ======================================== */
.technology {
    background: var(--bg-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 25px;
    padding: 45px 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.tech-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 50%;
    color: var(--primary);
    border: 1px solid var(--border-light);
}

.tech-icon svg {
    width: 36px;
    height: 36px;
}

.tech-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--bg-cream);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(245, 169, 98, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-top: 20px;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--bg-white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.contact-item h5 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 18px 22px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(201, 168, 108, 0.1);
}

.form-group label {
    position: absolute;
    left: 22px;
    top: 18px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-normal);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 18px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-white);
    padding: 0 8px;
}

.form-group textarea {
    resize: none;
    min-height: 130px;
}

.focus-border {
    display: none;
}

/* ========================================
   Contact Map
   ======================================== */
.contact-map-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.map-container {
    width: 100%;
}

.map-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 15px;
}

.map-tab {
    background: transparent;
    border: none;
    padding: 12px 30px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    transition: var(--transition-normal);
    position: relative;
}

.map-tab:hover {
    color: var(--primary);
    background: var(--bg-cream);
}

.map-tab.active {
    color: var(--primary);
    background: var(--bg-cream);
}

.map-tab.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.map-content {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.map-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.map-item.active {
    display: block;
}

.map-iframe-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.map-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-iframe-wrapper > div {
    width: 100%;
    height: 100%;
}

/* Leaflet map container styles */
.map-iframe-wrapper > div[id*="Container"] {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

/* Leaflet map container styles */
.map-iframe-wrapper .leaflet-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
}

.map-address {
    text-align: center;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    padding: 15px;
    background: var(--bg-cream);
    border-radius: 15px;
    margin: 0;
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 30px;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h5 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    padding: 8px 0;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

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

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 60px;
        min-height: 253px;
    }
    
    .chip-model {
        width: 320px;
        height: 380px;
    }
    
    .hero-device-image {
        width: 100%;
        max-width: none;
        padding: 0;
        justify-content: center;
    }
    
    .device-showcase-img {
        width: 100%;
        height: auto;
        max-width: none;
        margin-left: 0;
    }
    
    .about-grid,
    .product-showcase,
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 50px;
    }
    
    .product-showcase {
        padding: 40px;
        /* 中等屏幕：单列布局，图片在上，介绍在下 */
        grid-template-rows: auto auto;
    }
    
    /* 确保产品图片在上方 */
    .product-showcase .product-visual {
        grid-row: 1;
        order: 1;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    /* 确保产品介绍在下方 */
    .product-showcase .product-info {
        grid-row: 2;
        order: 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .product-showcase .product-tag,
    .product-showcase .product-name,
    .product-showcase .product-subtitle,
    .product-showcase .product-desc {
        text-align: center;
        width: 100%;
    }
    
    .product-showcase .product-features {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .product-showcase .product-features li {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .product-showcase .applications {
        text-align: center;
        width: 100%;
    }
    
    .product-showcase .app-icons {
        justify-content: center;
    }
    
    .product-showcase .btn {
        margin: 20px auto 0;
    }
    
    .product-showcase.reverse {
        direction: ltr;
    }
    
    .product-showcase.reverse .product-visual {
        order: 1;
    }
    
    .product-showcase.reverse .product-info {
        order: 2;
    }
    
    /* 调整轮播图尺寸适应中等屏幕 */
    .product-visual .epmdi-carousel,
    .product-visual .esmi-carousel {
        max-width: 100%;
        width: 100% !important;
    }
    
    .product-visual .epmdi-carousel .carousel-image,
    .product-visual .esmi-carousel .carousel-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
    }
    
    .footer-main {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px 40px;
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo-image {
        height: 40px;
        max-width: 160px;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .hero-visual {
        min-height: 200px;
    }
    
    .hero-device-image {
        width: 100%;
        max-width: none;
        padding: 0;
        justify-content: center;
    }
    
    .device-showcase-img {
        width: 100%;
        height: auto;
        max-width: none;
        margin-left: 0;
        border-radius: 0;
    }
    
    .section-container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .product-showcase {
        padding: 30px 10px;
        margin: 0 auto 40px;
        /* 移动端：单列布局，图片在上，介绍在下 */
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-items: center;
        align-items: center;
    }
    
    /* 确保产品图片在上方 */
    .product-showcase .product-visual {
        grid-row: 1;
        order: 1;
        min-height: 250px;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* 确保产品介绍在下方 */
    .product-showcase .product-info {
        grid-row: 2;
        order: 2;
        padding: 20px 0 0 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .product-showcase .product-tag {
        font-size: 0.75rem;
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }
    
    .product-showcase .product-name {
        font-size: 1.8rem;
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }
    
    .product-showcase .product-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    
    .product-showcase .product-features {
        text-align: center;
        margin: 20px auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    
    .product-showcase .product-features li {
        font-size: 0.9rem;
        margin-bottom: 12px;
        text-align: left;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    
    /* 产品描述居中 */
    .product-showcase .product-desc {
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* 应用领域居中 */
    .product-showcase .applications {
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .product-showcase .app-title {
        text-align: center;
        display: block;
        margin-bottom: 15px;
    }
    
    .product-showcase .app-icons {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* 按钮居中 */
    .product-showcase .btn {
        margin: 20px auto 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* reverse类在移动端也要保持图片在上，介绍在下 */
    .product-showcase.reverse {
        direction: ltr !important;
    }
    
    .product-showcase.reverse > * {
        direction: ltr !important;
    }
    
    .product-showcase.reverse .product-visual {
        order: 1;
    }
    
    .product-showcase.reverse .product-info {
        order: 2;
    }
    
    .product-model {
        transform: scale(0.85);
    }
    
    /* ePmdi轮播图移动端适配 */
    .product-visual .epmdi-carousel {
        max-width: 100%;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    .product-visual .epmdi-carousel .carousel-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    .product-visual .epmdi-carousel .carousel-track {
        width: 500% !important;
        margin: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box;
        transform-origin: center center;
    }
    
    .product-visual .epmdi-carousel .carousel-slide {
        width: 20% !important;
        min-width: 20% !important;
        max-width: 20% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .product-visual .epmdi-carousel .carousel-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: 220px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    /* 缩小移动端按钮尺寸 */
    .product-visual .epmdi-carousel .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .product-visual .epmdi-carousel .carousel-btn svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .product-visual .epmdi-carousel .carousel-prev {
        left: 5px !important;
    }
    
    .product-visual .epmdi-carousel .carousel-next {
        right: 5px !important;
    }
    
    /* 缩小移动端指示器尺寸 */
    .product-visual .epmdi-carousel .carousel-indicators {
        bottom: 5px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        gap: 6px;
    }
    
    .product-visual .epmdi-carousel .indicator {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
    }
    
    .product-visual .epmdi-carousel .indicator.active {
        width: 20px !important;
        height: 6px !important;
    }
    
    /* eSMI轮播图移动端适配 */
    .product-visual .esmi-carousel {
        max-width: 100%;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    .product-visual .esmi-carousel .carousel-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
    
    .product-visual .esmi-carousel .carousel-track {
        width: 300% !important;
        margin: 0 !important;
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box;
        transform-origin: center center;
    }
    
    .product-visual .esmi-carousel .carousel-slide {
        width: 33.333% !important;
        min-width: 33.333% !important;
        max-width: 33.333% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .product-visual .esmi-carousel .carousel-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: 220px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    /* 缩小移动端按钮尺寸 */
    .product-visual .esmi-carousel .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .product-visual .esmi-carousel .carousel-btn svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .product-visual .esmi-carousel .carousel-prev {
        left: 5px !important;
    }
    
    .product-visual .esmi-carousel .carousel-next {
        right: 5px !important;
    }
    
    /* 缩小移动端指示器尺寸 */
    .product-visual .esmi-carousel .carousel-indicators {
        bottom: 5px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        gap: 6px;
    }
    
    .product-visual .esmi-carousel .indicator {
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
    }
    
    .product-visual .esmi-carousel .indicator.active {
        width: 20px !important;
        height: 6px !important;
    }
    
    /* MistChip图片移动端适配 */
    #product-mistchip .product-visual {
        width: 100%;
        max-width: 100%;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    #product-mistchip .product-visual .mistchip-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto;
        padding: 0;
        display: block;
        box-sizing: border-box;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 140px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .app-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .chip-specs {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 小屏幕产品信息进一步优化 */
    .product-showcase .product-info {
        text-align: center;
        align-items: center;
    }
    
    .product-showcase .product-tag,
    .product-showcase .product-name,
    .product-showcase .product-subtitle,
    .product-showcase .product-desc {
        text-align: center;
    }
    
    .product-showcase .product-features {
        align-items: center;
    }
    
    .product-showcase .btn {
        width: 100%;
        max-width: 300px;
        margin: 20px auto 0;
    }
}
