/* 海南公司注册 - 全局样式表 */
/* 设计风格: 专业、现代、商务、信任感 */

:root {
    /* 主色调 - 深蓝色，体现专业与信任 */
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    
    /* 辅助色 - 金色，体现高端服务 */
    --accent-color: #d97706;
    --accent-light: #f59e0b;
    
    /* 中性色 */
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    
    /* 功能色 */
    --success-color: #10b981;
    --info-color: #06b6d4;
}

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* 顶部导航 */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-light);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 15px;
    color: var(--text-medium);
    transition: color 0.3s;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 主Banner区域 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 50%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.hero::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-tag {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

/* 页面标题区 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    text-align: center;
    color: white;
}

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

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* 特色卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.8;
}

/* 流程步骤 */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* 价格表格 */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.pricing-table tr:hover {
    background: var(--bg-light);
}

.pricing-table .highlight {
    background: #fef3c7;
}

/* 优势列表 */
.advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.advantage-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.advantage-content p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
}

/* 服务项目卡片 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

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

.service-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-price {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: bold;
}

.service-price span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
}

/* 关于我们 */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* 联系方式 */
.contact-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.contact-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-medium);
    font-size: 14px;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.data-table th,
.data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.data-table tr:hover {
    background: var(--bg-light);
}

.data-table td {
    font-size: 14px;
    color: var(--text-medium);
}

/* 特色亮点 */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 40px;
    border-radius: 16px;
    color: white;
    margin: 40px 0;
}

.highlight-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.highlight-item i {
    color: var(--accent-light);
    font-size: 20px;
}

/* 合作伙伴 */
.partners {
    padding: 60px 0;
    background: var(--bg-light);
}

.partner-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    width: 150px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

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

.footer-col a {
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 14px;
}

.footer-contact p {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 15px;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--primary-color);
        color: white;
        border-radius: 8px;
        cursor: pointer;
        font-size: 20px;
        z-index: 1001;
    }
    
    .nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        overflow: hidden;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
    }
    
    .nav a::after {
        display: none;
    }
    
    .header-contact {
        order: 2;
        margin-left: auto;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-item::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .feature-grid,
    .service-grid,
    .advantage-list {
        grid-template-columns: 1fr;
    }
}
