/* style.css - 诺津科技官网样式 */
/* 风格：简洁专业、无弹窗、知识型、B2B工业风 */

/* ===== CSS变量 ===== */
:root {
    --primary: #0F4C81;
    --secondary: #1E88E5;
    --accent: #00897B;
    --dark: #1A1A2E;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border: #E0E0E0;
    
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    
    --radius: 8px;
    --radius-lg: 12px;
}

/* ===== 重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 16px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 44px;
    width: auto;
}

.logo-fallback {
    display: none;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav {}

.nav-menu {
    display: flex;
    gap: 28px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-menu a:hover { color: var(--secondary); }

.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.nav-contact i { color: var(--accent); }

/* ===== Hero轮播 ===== */
.hero-carousel {
    position: relative;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}

.carousel-track {
    position: relative;
    flex: 1;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 137, 123, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.1) 0%, transparent 50%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 80px 24px 60px;
    margin-left: 8%;
}

.slide-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.slide-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}

.slide-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--white);
}

.slide-desc {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.9);
}

.slide-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.slide-tags span {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid rgba(30,136,229,0.4);
    border-radius: 20px;
    background: rgba(30,136,229,0.12);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.9);
    transition: all 0.2s;
}

.slide-tags span:hover {
    background: rgba(30,136,229,0.22);
    border-color: rgba(30,136,229,0.7);
}

/* 轮播箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -20px;
}

.carousel-arrow:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-left { left: 40px; }
.carousel-arrow-right { right: 40px; }

/* 圆点指示器 */
.carousel-dots {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--white);
}

.dot:hover:not(.active) {
    background: rgba(255,255,255,0.6);
}

/* 核心数据（轮播下方） */
.hero-stats {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: #1976D2;
    border-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }

/* 核心数据 */
.hero-stats {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding-top: 32px;
    padding-bottom: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.stat-unit {
    font-size: 28px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== 通用区块 ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-sm {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title-sm {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.section-divider {
    color: var(--border);
    margin: 0 12px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
}

.bg-light {
    background: var(--bg-light);
}

/* ===== 专长区块 ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.expertise-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.expertise-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--secondary);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    margin-bottom: 20px;
}

.expertise-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.expertise-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.expertise-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.expertise-features li {
    font-size: 14px;
    color: var(--text);
    padding-left: 16px;
    position: relative;
}

.expertise-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* 紧凑专长区（挤入首屏） */
.compact-expertise {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.expertise-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.expertise-card-compact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    border-right: 1px solid var(--border);
}

.expertise-card-compact:last-child {
    border-right: none;
}

.expertise-icon-sm {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.expertise-title-sm {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.expertise-desc-sm {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 行业应用 ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.industry-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.industry-card i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.industry-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== 技术知识 ===== */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.knowledge-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.knowledge-card:hover {
    box-shadow: var(--shadow-md);
}

.knowledge-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary);
    background: rgba(30, 136, 229, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.knowledge-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.knowledge-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.knowledge-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
}

.knowledge-link:hover { text-decoration: underline; }

/* ===== 典型案例 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.case-client {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-result span {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

.case-result i {
    margin-right: 8px;
}

.cases-clients {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.clients-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.clients-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.clients-logos span {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    opacity: 0.7;
}

/* ===== 最新动态 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-item {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.news-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 12px;
    display: block;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 关于诺津 ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.about-desc {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-highlights {
    margin: 32px 0;
}

.highlight-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.highlight-item i {
    font-size: 24px;
    color: var(--secondary);
}

.highlight-item strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 13px;
    color: var(--text-light);
}

.about-image {}

.about-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px dashed var(--border);
}

.about-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ===== 联系我们 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-item i {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

.qrcode-placeholder {
    margin-top: 8px;
}

.qrcode-img {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.qrcode-fallback {
    display: none;
    width: 80px;
    height: 80px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 12px;
    gap: 4px;
}

.qrcode-fallback i {
    font-size: 24px;
    opacity: 0.4;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 15px;
    background: var(--white);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.6;
    line-height: 1.7;
    margin-top: 16px;
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; }

.footer-links i {
    margin-right: 8px;
    opacity: 0.7;
}

.footer-links li:has(i) {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 38px; }
    .hero { min-height: 60vh; }
    .slide-title { font-size: 42px; }
    .slide-desc { font-size: 16px; }
    .slide-content { margin-left: 4%; }
    .carousel-arrow-left { left: 16px; }
    .carousel-arrow-right { right: 16px; }
    .carousel-arrow { width: 44px; height: 44px; }
    .carousel-dots { bottom: 140px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .expertise-grid { grid-template-columns: 1fr; }
    .expertise-grid-compact { grid-template-columns: repeat(2, 1fr); }
    .expertise-card-compact { border-right: none; border-bottom: 1px solid var(--border); }
    .expertise-card-compact:last-child { border-bottom: none; }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .knowledge-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 30px; }
    .hero { min-height: 50vh; }
    .slide-title { font-size: 34px; }
    .slide-desc { font-size: 15px; }
    .slide-tags { gap: 8px; }
    .slide-tags span { font-size: 12px; padding: 5px 12px; }
    .slide-content { padding: 72px 24px 48px; margin-left: 0; }
    .carousel-arrow { display: none; }
    .carousel-dots { bottom: 130px; }
    .hero-desc { font-size: 16px; }
    .hero-cta { flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 32px; }
    .expertise-grid-compact { grid-template-columns: 1fr; }
    .compact-expertise { padding: 24px 0; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-menu { display: none; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 26px; }
    .stat-number { font-size: 28px; }
    .section-title { font-size: 26px; }
    .industries-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .clients-logos { gap: 24px; }
}
