/* ========================================
   羿盟科技 - 微能量采集与管理方案提供商
   全局样式表
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #1B4D89;
    --color-primary-light: #2E6CA8;
    --color-primary-dark: #0F3361;
    --color-secondary: #00A859;
    --color-secondary-light: #2EC07A;
    --color-accent: #FFB800;
    --color-dark: #0D1B2A;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-text-muted: #95A5A6;
    --color-bg: #FFFFFF;
    --color-bg-light: #F0F4F8;
    --color-bg-gray: #F7F8FA;
    --color-border: #E1E8ED;
    --color-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--color-bg-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.logo-text {
    letter-spacing: 0.5px;
}

.logo-text .en {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 1px;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.footer-brand .logo img {
    height: 50px;
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li > a {
    padding: 8px 16px;
    font-size: 0.95rem;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    font-weight: 500;
    position: relative;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--color-primary);
    background: rgba(27, 77, 137, 0.06);
}

.nav-menu > li > a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--color-text);
    border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.dropdown-menu a .arrow {
    float: right;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.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 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0D1B2A 0%, #1B4D89 50%, #0F3361 100%);
    color: white;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 168, 89, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(46, 108, 168, 0.2) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 168, 89, 0.15);
    border: 1px solid rgba(0, 168, 89, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    color: #2EC07A;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #2EC07A;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, #00A859, #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 168, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 168, 89, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-text {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-text:hover {
    gap: 10px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #FFB800, #00A859);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0 0;
}

/* ========================================
   Product Cards
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.product-card-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-img .icon-large {
    font-size: 4rem;
    z-index: 2;
}

.product-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.product-card-img.bg-blue::before { background: var(--color-primary); }
.product-card-img.bg-green::before { background: var(--color-secondary); }
.product-card-img.bg-gold::before { background: var(--color-accent); }

.product-card-body {
    padding: 28px;
}

.product-card-body h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.product-card-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    padding: 4px 12px;
    background: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--color-bg-light), white);
    border: 2px solid var(--color-border);
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   Application Scenarios
   ======================================== */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.scenario-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    transition: var(--transition);
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
    z-index: 1;
}

.scenario-card:hover {
    transform: translateY(-4px);
}

.scenario-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.scenario-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.scenario-card:hover .scenario-card-bg {
    transform: scale(1.06);
}

.scenario-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.scenario-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    line-height: 1;
    padding: 5px 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: none;
}

.scenario-card h5 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.scenario-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ========================================
   Solution Cards
   ======================================== */
.solution-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.solution-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.solution-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.solution-info h4 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.solution-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.solution-card.has-img {
    flex-wrap: wrap;
    padding: 0;
    overflow: hidden;
}
.solution-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f6f7f9;
    display: block;
}
.solution-row {
    display: flex;
    gap: 24px;
    padding: 28px;
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   Science / Comparison Table
   ======================================== */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 800px;
}

.comparison-table th {
    background: var(--color-primary);
    color: white;
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-table th:first-child {
    text-align: left;
    padding-left: 20px;
}

.comparison-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table td:first-child {
    text-align: left;
    padding-left: 20px;
    font-weight: 600;
    color: var(--color-primary);
}

.comparison-table tbody tr:hover {
    background: var(--color-bg-light);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.rating {
    display: inline-flex;
    gap: 2px;
}

.rating .star {
    color: var(--color-accent);
}

.rating .star.empty {
    color: var(--color-border);
}

.badge-best {
    display: inline-block;
    padding: 2px 10px;
    background: #00A859;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 6px;
}

.badge-lab {
    display: inline-block;
    padding: 2px 10px;
    background: #FFB800;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 6px;
}

/* ========================================
   Article Cards (Science Center)
   ======================================== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.article-card-body {
    padding: 24px;
}

.article-card-body .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.article-card-body .category {
    padding: 3px 10px;
    background: var(--color-bg-light);
    color: var(--color-primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-card-body .date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.article-card-body h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-card-body p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   About Page
   ======================================== */
.about-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
    color: white;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

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

.about-text h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-visual {
    height: 400px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-bg-light), white);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.contact-card {
    text-align: center;
    padding: 36px 24px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.contact-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-card h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

/* ========================================
   Product Detail Page
   ======================================== */
.product-detail-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0D1B2A, #1B4D89);
    color: white;
}

.product-detail-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-detail-hero-text {
    flex: 1;
}

.product-detail-hero-text .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 168, 89, 0.15);
    border: 1px solid rgba(0, 168, 89, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    color: #2EC07A;
    margin-bottom: 20px;
}

.product-detail-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-detail-hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.product-detail-hero-visual {
    width: 400px;
    height: 300px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}

.hero-visual {
    width: 400px;
    height: 300px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-visual img,
.product-detail-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specs table */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.spec-item .label {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.spec-item .value {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Advantages */
.advantage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.advantage-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.advantage-item .num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.advantage-item h5 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.advantage-item p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 32px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 24px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Page Banner (sub-pages)
   ======================================== */
.page-banner {
    padding: 140px 0 50px;
    background: linear-gradient(135deg, #0D1B2A, #1B4D89);
    color: white;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.7;
}

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

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

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .product-grid,
    .features-grid,
    .scenario-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 36px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .product-grid,
    .features-grid,
    .scenario-grid,
    .article-grid,
    .solution-list,
    .specs-grid,
    .advantage-list,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-hero .container {
        flex-direction: column;
    }

    .product-detail-hero-visual,
    .hero-visual {
        width: 100%;
        height: 220px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    flex-shrink: 0;
}
.lang-switcher a {
    padding: 4px 9px;
    font-size: 0.78rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
    border: 1px solid transparent;
}
.lang-switcher a:hover {
    color: var(--color-primary);
    background: rgba(27,77,137,0.08);
    border-color: rgba(27,77,137,0.2);
}
.lang-switcher a.active {
    color: #fff;
    background: var(--color-primary);
    font-weight: 700;
    border-color: var(--color-primary);
}

/* ===== Three Material Power Density Section ===== */
.material-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 700px;
}
.material-compare-table th {
    background: var(--color-primary);
    color: white;
    padding: 14px 12px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}
.material-compare-table th .spec-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}
.material-compare-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.material-compare-table td:first-child {
    font-weight: 600;
    color: var(--color-primary);
}
.material-compare-table tbody tr:hover {
    background: var(--color-bg-light);
}
.material-compare-table tbody tr:last-child td {
    border-bottom: none;
}
.material-compare-table .col-opv { color: #0ea5e9; font-weight: 600; }
.material-compare-table .col-psk { color: #8b5cf6; font-weight: 600; }
.material-compare-table .col-asi { color: #f59e0b; font-weight: 600; }
.material-compare-table .col-ratio { color: var(--color-secondary); font-weight: 700; }

.spectrum-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.spectrum-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
    transition: var(--transition);
}
.spectrum-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.spectrum-card.opv { border-top-color: #0ea5e9; }
.spectrum-card.psk { border-top-color: #8b5cf6; }
.spectrum-card.asi { border-top-color: #f59e0b; }
.spectrum-card .sc-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.spectrum-card h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}
.spectrum-card .sc-spec {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}
.spectrum-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}
.spectrum-card .sc-peak {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    background: var(--color-bg-light);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--color-text-light);
}

.cta-note-box {
    background: linear-gradient(135deg, rgba(27,77,137,0.05), rgba(0,168,89,0.05));
    border: 1px solid rgba(27,77,137,0.15);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-top: 32px;
    text-align: center;
}
.cta-note-box p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}
.cta-note-box strong {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .spectrum-cards {
        grid-template-columns: 1fr;
    }
}

/* Material selector in calculator */
.calc-material-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.calc-material-btn {
    background: rgba(148,163,184,0.1);
    border: 1px solid rgba(148,163,184,0.2);
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
    flex: 1;
    min-width: 100px;
}
.calc-material-btn:hover {
    background: rgba(56,189,248,0.1);
    border-color: rgba(56,189,248,0.3);
    color: #7dd3fc;
}
.calc-material-btn.active {
    background: rgba(56,189,248,0.15);
    border-color: #38bdf8;
    color: #7dd3fc;
}
.calc-material-btn .mb-tag {
    display: block;
    font-size: 0.68rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* ===== OPV Area Calculator ===== */
.calc-tool {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}
.calc-tool::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.calc-tool::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(0,168,89,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.calc-tool-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.calc-tool-header h3 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 8px;
}
.calc-tool-header p {
    color: #94a3b8;
    font-size: 0.9rem;
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.calc-field label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.calc-field label .hint {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
}
.calc-field input[type="number"],
.calc-field select {
    background: rgba(30,41,59,0.8);
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #f1f5f9;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}
.calc-field input[type="number"]:focus,
.calc-field select:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56,189,248,0.1);
}
.calc-field select option {
    background: #1e293b;
    color: #e2e8f0;
}
.calc-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.calc-preset-btn {
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.3);
    color: #7dd3fc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.calc-preset-btn:hover {
    background: rgba(56,189,248,0.2);
    border-color: #38bdf8;
}
.calc-preset-btn.active {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
}
.calc-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.calc-result-main {
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}
.calc-result-main .area-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.2;
}
.calc-result-main .area-unit {
    font-size: 1rem;
    color: #94a3b8;
    margin-left: 4px;
}
.calc-result-main .side-info {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 8px;
}
.calc-result-main .side-info strong {
    color: #fbbf24;
}
.calc-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 160px;
    background: rgba(15,23,42,0.5);
    border-radius: var(--radius-md);
    border: 1px solid rgba(56,189,248,0.15);
    gap: 12px;
}

.calc-visual-canvas {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calc-visual-box {
    background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(0,168,89,0.15));
    border: 2px solid #38bdf8;
    border-radius: 4px;
    transition: width 0.4s ease, height 0.4s ease;
    min-width: 4px;
    min-height: 4px;
    max-width: 110px;
    max-height: 110px;
    box-shadow: 0 0 20px rgba(56,189,248,0.15);
}

.calc-visual-label {
    color: #7dd3fc;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}
.calc-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.calc-detail-item {
    background: rgba(30,41,59,0.5);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    border-left: 3px solid rgba(56,189,248,0.3);
}
.calc-detail-item .label {
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 2px;
}
.calc-detail-item .value {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 600;
}
.calc-detail-item .value .unit {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}
.calc-detail-item.warn {
    border-left-color: #f59e0b;
}
.calc-detail-item.warn .value {
    color: #fbbf24;
}
.calc-footnote {
    font-size: 0.75rem;
    color: #475569;
    margin-top: 16px;
    line-height: 1.6;
    text-align: center;
    position: relative;
    z-index: 1;
}
.calc-footnote a {
    color: #38bdf8;
    text-decoration: none;
}
@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .calc-tool {
        padding: 24px;
    }
    .calc-result-main .area-value {
        font-size: 2rem;
    }
}
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 8px;
        padding-left: 16px;
    }
    .lang-switcher a {
        font-size: 0.75rem;
    }
}
