/* 诺蒙数字科技 - 专业网站样式 */
:root {
    --primary-blue: #008080;     /* 诺蒙蓝主色 */
    --secondary-blue: #20b2aa;   /* 辅助蓝色 */
    --light-blue: #e0f2f1;       /* 浅蓝色 */
    --dark-blue: #006666;        /* 深蓝色 */
    --accent-blue: #4db6ac;      /* 强调蓝色 */
    --text-dark: #1f2937;        /* 深色文字 */
    --text-light: #6b7280;       /* 浅色文字 */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-gray: #e5e7eb;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.02em;
    min-height: 100vh;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 1rem;
    margin: 0 5px;
    padding: 10px 15px !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: 0.01em;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* 按钮样式 */
.btn {
    border-radius: 25px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.2);
}

.btn-primary:hover {
    background: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
    transform: none;
}



/* 链接样式 */
a {
    color: #1FA6A0;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #147B76;
    text-decoration: none;
}

/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* 段落和文本样式 */
p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 400;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
}

small, .small {
    font-size: 0.875rem;
    line-height: 1.6;
}

.text-muted {
    color: var(--text-light) !important;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 28px;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 18px;
}

h6 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 16px;
}

/* 轮播图样式 */
.carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 24px 0;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-blue);
}

.carousel-indicators .active {
    background-color: var(--primary-blue);
}

/* 页脚样式 */
footer {
    background: #f8f9fa;
    color: #333;
    padding: 24px 0 16px;
    margin-top: 40px;
    text-align: center;
}

footer p {
    margin-bottom: 12px;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
}

footer a {
    color: #1FA6A0;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #147B76;
    text-decoration: underline;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: var(--light-blue);
    border-bottom: 2px solid var(--primary-blue);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-blue);
    padding: 16px 20px;
}

.card-body {
    padding: 24px;
    font-size: 1rem;
    line-height: 1.7;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    h4 {
        font-size: 1.375rem;
    }
    
    p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
        font-size: 0.95rem;
        padding: 10px 16px !important;
    }
    
    .carousel-item img {
        height: 250px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 8px 14px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* 表单样式增强 */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25) !important;
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.form-control {
    font-size: 1rem;
    line-height: 1.6;
    padding: 12px 16px;
    border-radius: 8px;
}

.form-control::placeholder {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 联系信息样式 */
.contact-info div {
    padding: 16px;
    border-left: 3px solid var(--light-blue);
    margin-bottom: 18px;
    background: rgba(30, 58, 138, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
}

/* 列表样式 */
ul, ol {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* 强调文本 */
strong, b {
    font-weight: 600;
    color: var(--text-dark);
}

em, i {
    font-style: italic;
    color: var(--text-light);
}

.contact-info div:hover {
    border-left-color: var(--primary-blue);
    background: rgba(30, 58, 138, 0.05);
    transform: translateX(5px);
}

/* 页面加载动画 */
.main-content {
    animation: fadeInUp 0.8s ease-out;
}

/* 导航栏响应式优化 */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: left;
        padding: 10px 0;
        background: rgba(0, 128, 128, 0.95);
        border-radius: 8px;
        margin-top: 10px;
        padding: 15px;
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px 15px !important;
        border-radius: 4px;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: none;
    }
}

/* 卡片悬停效果简化 */
.card {
    position: relative;
    overflow: hidden;
}
h1 {
    background: none;
    -webkit-text-fill-color: initial;
}

.page-card {
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 32px;
    margin: 24px 0;
}

.app-section {
    width: 100%;
    margin-top: 8px;
}

.app-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    padding: 24px;
    height: 100%;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.app-desc {
    color: #556;
    margin-bottom: 16px;
}

.app-actions .btn {
    width: 160px;
}
