/* 日本公司注册网站 - 大气精美版样式文件 */
/* 主题：高端商务风格，多样化版块设计 */

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

/* 定义CSS变量 */
:root {
    /* 主色调 - 日本红 */
    --primary-red: #bc002d;
    --primary-red-dark: #8a0021;
    --primary-red-light: #e60027;
    --primary-red-lighter: #fff5f5;

    /* 辅助色 - 墨蓝 */
    --accent-blue: #1a3a5c;
    --accent-blue-light: #2d5a87;

    /* 渐变色 */
    --gradient-hero: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 50%, #bc002d 100%);
    --gradient-gold: linear-gradient(135deg, #d4a574 0%, #e8c9a0 100%);
    --gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);

    /* 白色和灰色 */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f0f2f5;
    --gray: #6b7280;
    --dark-gray: #374151;
    --black: #111827;

    /* 间距 */
    --section-padding: 60px 0;
    --container-max: 1280px;
}

/* 基础字体设置 */
body {
    font-family: 'Noto Sans SC', 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    color: var(--dark-gray);
    background-color: var(--off-white);
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== 导航栏 ========== */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo a i {
    font-size: 1.8rem;
}

.logo span {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 20px;
}

/* 移动端菜单按钮 */
.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    padding: 10px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    border-radius: 8px;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--primary-red-lighter);
    color: var(--primary-red);
}

/* ========== Hero 横幅区域 ========== */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(188, 0, 45, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 58, 92, 0.4) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

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

.hero h1 span {
    display: block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero > .container > p {
    font-size: 1.25rem;
    opacity: 0.95;
    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: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: white;
}

.hero-stat {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-stat:last-child {
    border-bottom: none;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gradient-gold);
}

.hero-stat .label {
    color: rgba(255,255,255,0.8);
}

/* ========== 通用区块样式 ========== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========== 特色优势 - 列表布局 ========== */
.features-section {
    background: var(--white);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-row {
    display: flex;
    gap: 24px;
    padding: 30px;
    background: var(--off-white);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-row:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: white;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-hero);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* ========== 统计区域 - 大数字展示 ========== */
.stats-section {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-item .icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-item .icon i {
    font-size: 1.5rem;
    color: var(--gradient-gold);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* ========== 流程步骤 - 时间线布局 ========== */
.process-section {
    background: var(--light-gray);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 90px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-blue));
    border-radius: 2px;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-badge {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(188, 0, 45, 0.2);
}

.process-step h3 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 8px;
}

.process-step p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== 服务项目 - 图标卡片 ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

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

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== 内容详情页样式 ========== */
.page-header {
    background: var(--gradient-hero);
    color: white;
    padding: 140px 0 80px;
    position: relative;
}

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

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* 内容区块 */
.content-block {
    background: white;
    padding: 60px 0;
}

.content-block h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary-red);
    display: inline-block;
}

.content-block h3 {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin: 40px 0 16px;
}

.content-block p {
    margin-bottom: 16px;
    color: var(--dark-gray);
    line-height: 1.9;
}

.content-block ul, .content-block ol {
    margin: 16px 0 24px 24px;
}

.content-block li {
    margin-bottom: 12px;
    color: var(--dark-gray);
}

/* 数据展示块 */
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.data-card {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.data-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.data-card p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* 对比表格 */
.comparison-table {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th {
    background: var(--accent-blue);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark-gray);
}

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

.comparison-table tr:hover td {
    background: var(--primary-red-lighter);
}

/* 案例展示 */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--off-white);
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
    align-items: center;
}

.case-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-red));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image i {
    font-size: 5rem;
    color: rgba(255,255,255,0.3);
}

.case-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 16px;
}

.case-content .tag {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.case-content p {
    color: var(--gray);
    margin-bottom: 16px;
}

.case-result {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.case-result-item {
    text-align: center;
    padding: 16px 24px;
    background: white;
    border-radius: 12px;
}

.case-result-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-red);
}

/* 时间线 */
.timeline-block {
    position: relative;
    padding: 40px 0;
}

.timeline-block::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-red), var(--accent-blue));
}

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

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(188, 0, 45, 0.3);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 40px);
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--gray);
    margin: 0;
}

/* 标签列表 */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.tag-item {
    background: var(--primary-red-lighter);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========== 联系我们区域 ========== */
.contact-section {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0;
}

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

.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card .icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.contact-card p {
    color: rgba(255,255,255,0.7);
    margin: 4px 0;
}

/* ========== 页脚 ========== */
footer {
    background: var(--black);
    color: white;
    padding: 60px 0 30px;
}

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

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

.footer-about p {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

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

/* ========== CTA 区域 ========== */
.cta-section {
    background: var(--gradient-hero);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== 常见问题 - 手风琴样式 ========== */
.faq-section {
    background: var(--light-gray);
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--black);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-red);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--gray);
}

.faq-item.active .faq-answer {
    padding: 0 30px 24px;
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }

    .container {
        padding: 0 20px;
    }

    nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

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

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

    .timeline-block::before {
        left: 20px;
    }

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

    .timeline-item::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

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