/* ============================================
   朝阳助孕供应链 - 全局样式
   ============================================ */

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

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   顶部联系栏
   ============================================ */

.top-bar {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: #63b3ed;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.top-bar-right a:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================
   导航栏
   ============================================ */

.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 18px;
    font-weight: 700;
    color: #1a365d;
    display: block;
    max-width: 400px;
    line-height: 1.3;
}

.logo a:hover {
    color: #2c5282;
}

.main-nav ul {
    display: flex;
    gap: 5px;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    background: #1a365d;
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a365d;
    padding: 5px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn:hover {
    color: #2c5282;
}

/* 汉堡菜单图标 */
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    position: absolute;
    transition: all 0.3s;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

/* ============================================
   Hero Banner
   ============================================ */

.hero-banner {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #fff;
    color: #1a365d;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    border: 2px solid #fff;
    font-weight: 600;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================
   Section 通用样式
   ============================================ */

.section {
    padding: 60px 0;
}

.section-alt {
    padding: 60px 0;
    background: #f0f4f8;
}

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

.section-title h2 {
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   业务板块卡片
   ============================================ */

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.business-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.business-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a365d, #2c5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 28px;
}

.business-card h3 {
    font-size: 20px;
    color: #1a365d;
    margin-bottom: 10px;
}

.business-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.business-card .link {
    color: #2c5282;
    font-weight: 500;
}

.business-card .link:hover {
    color: #1a365d;
}

/* ============================================
   统计数据
   ============================================ */

.stats-section {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: #fff;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   优势列表
   ============================================ */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.advantage-item .icon {
    width: 50px;
    height: 50px;
    background: #e6f0fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a365d;
    font-size: 24px;
    flex-shrink: 0;
}

.advantage-item h4 {
    color: #1a365d;
    margin-bottom: 8px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
}

/* ============================================
   服务详情列表
   ============================================ */

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #1a365d;
}

.service-item h4 {
    color: #1a365d;
    margin-bottom: 10px;
    font-size: 18px;
}

.service-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   发展历程
   ============================================ */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    text-align: center;
    font-weight: 700;
    color: #1a365d;
    font-size: 20px;
    flex-shrink: 0;
}

.timeline-content {
    width: calc(50% - 60px);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
}

.timeline-content li {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

/* ============================================
   页脚
   ============================================ */

.footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer p, .footer li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer a {
    color: #a0aec0;
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    font-size: 14px;
}

/* ============================================
   页面头部
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   内容区域
   ============================================ */

.content-section {
    padding: 60px 0;
}

.content-section-alt {
    padding: 60px 0;
    background: #f0f4f8;
}

.content-block {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.content-block h3 {
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.content-block p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ============================================
   响应式设计 - 平板设备 (max-width: 1024px)
   ============================================ */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .business-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .service-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* ============================================
   响应式设计 - 手机设备 (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    /* 顶部联系栏 */
    .top-bar {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 0 15px;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .top-bar-left span {
        justify-content: center;
        font-size: 12px;
    }
    
    .top-bar-right {
        justify-content: center;
    }
    
    /* 导航栏 */
    .main-header {
        position: relative;
    }
    
    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        padding: 10px 15px;
        position: relative;
    }
    
    .logo {
        width: calc(100% - 50px);
        text-align: left;
    }
    
    .logo a {
        font-size: 14px;
        max-width: 100%;
        padding: 0;
    }
    
    /* 显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }
    
    /* 默认隐藏导航 */
    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    /* 展开状态 */
    .main-nav.active {
        max-height: 500px;
        margin-top: 10px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-nav a {
        padding: 12px 15px;
        font-size: 14px;
        text-align: center;
        border: 1px solid #e2e8f0;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: #1a365d;
        color: #fff;
        border-color: #1a365d;
    }
    
    /* 汉堡菜单激活状态 */
    .mobile-menu-btn.active .hamburger {
        background: transparent;
    }
    
    .mobile-menu-btn.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-menu-btn.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    /* Hero Banner */
    .hero-banner {
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 10px 20px;
    }
    
    /* Section */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .section-title h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    /* 业务卡片 */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .business-card {
        padding: 20px 15px;
    }
    
    .business-card .icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .business-card h3 {
        font-size: 18px;
    }
    
    .business-card p {
        font-size: 13px;
    }
    
    /* 统计数据 */
    .stats-section {
        padding: 30px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .stat-item .number {
        font-size: 32px;
    }
    
    .stat-item .label {
        font-size: 14px;
    }
    
    /* 优势列表 */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .advantage-item {
        padding: 20px;
    }
    
    .advantage-item .icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .advantage-item h4 {
        font-size: 16px;
    }
    
    .advantage-item p {
        font-size: 13px;
    }
    
    /* 服务列表 */
    .service-list {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .service-item h4 {
        font-size: 16px;
    }
    
    .service-item p {
        font-size: 13px;
    }
    
    /* 时间线 */
    .timeline {
        padding: 0 15px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
        margin-bottom: 20px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        width: 40px;
        text-align: left;
        font-size: 16px;
    }
    
    .timeline-content {
        width: 100%;
        padding: 15px;
    }
    
    .timeline-content li {
        font-size: 13px;
    }
    
    /* 页脚 */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer p, .footer li {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 15px 15px 0;
        font-size: 12px;
    }
    
    /* 页面头部 */
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
        padding: 0 15px;
    }
    
    .page-header p {
        font-size: 14px;
        padding: 0 15px;
    }
    
    /* 内容区域 */
    .content-section {
        padding: 30px 0;
    }
    
    .content-block {
        padding: 20px 15px;
        margin: 0 15px 20px;
    }
    
    .content-block h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .content-block p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* ============================================
   响应式设计 - 小屏手机 (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    /* 顶部联系栏 */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }
    
    .top-bar-left span {
        font-size: 11px;
    }
    
    /* 导航栏 */
    .header-content {
        padding: 8px 10px;
    }
    
    .logo a {
        font-size: 12px;
    }
    
    .main-nav ul {
        gap: 3px;
    }
    
    .main-nav a {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    /* Hero Banner */
    .hero-banner {
        padding: 30px 0;
    }
    
    .hero-content h1 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 13px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    /* Section */
    .section {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    /* 统计数据 */
    .stats-section {
        padding: 25px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item .number {
        font-size: 28px;
    }
    
    .stat-item .label {
        font-size: 12px;
    }
    
    /* 业务卡片 */
    .business-card {
        padding: 15px;
    }
    
    .business-card .icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .business-card h3 {
        font-size: 16px;
    }
    
    .business-card p {
        font-size: 12px;
    }
    
    /* 服务列表 */
    .service-item {
        padding: 15px;
    }
    
    .service-item h4 {
        font-size: 15px;
    }
    
    .service-item p {
        font-size: 12px;
    }
    
    /* 内容块 */
    .content-block {
        padding: 15px;
    }
    
    .content-block h3 {
        font-size: 16px;
    }
    
    .content-block p {
        font-size: 13px;
    }
    
    /* 页面头部 */
    .page-header {
        padding: 30px 0;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .page-header p {
        font-size: 13px;
    }
    
    /* 时间线 */
    .timeline-year {
        font-size: 14px;
        width: 35px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        padding-left: 45px;
    }
    
    .timeline-content {
        padding: 12px;
    }
    
    .timeline-content li {
        font-size: 12px;
    }
}

/* ============================================
   响应式设计 - 超小屏手机 (max-width: 360px)
   ============================================ */

@media (max-width: 360px) {
    .logo a {
        font-size: 11px;
    }
    
    .main-nav a {
        padding: 5px 6px;
        font-size: 11px;
    }
    
    .hero-content h1 {
        font-size: 18px;
    }
    
    .hero-content p {
        font-size: 12px;
    }
    
    .section-title h2 {
        font-size: 18px;
    }
    
    .stat-item .number {
        font-size: 24px;
    }
    
    .stat-item .label {
        font-size: 11px;
    }
}
