/* UNIEX 株式会社 - 全局样式 */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e5f9e;
    --primary-red: #d93832;
    --dark-gray: #3d4958;
    --yellow: #f5b841;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

html, body {
    margin: 0;
    padding: 0;
}

/* 首页专用样式 - 禁用滚动 */
body.home-page {
    overflow: hidden;
    height: 100%;
}

html:has(body.home-page) {
    height: 100%;
}

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-dark);
}

.logo span {
    display: none; /* 隐藏UNIEX文字 */
}

.logo-icon {
    width: 120px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url('http://uniex.world/wp-content/uploads/2025/11/logo-e1762830878653.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-icon::before,
.logo-icon::after {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 0 0 10px 10px;
    position: absolute;
    display: none; /* 隐藏原来的伪元素，使用背景图片 */
}

.logo-icon::before {
    background-color: var(--primary-red);
    left: 0;
}

.logo-icon::after {
    background-color: var(--primary-blue);
    right: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
    background-color: rgba(30, 95, 158, 0.1);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 1001;
    top: 100%;
    left: 0;
    margin-top: 0px;
    padding-top: 5px;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-content a:first-child {
    border-radius: 5px 5px 0 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 5px 5px;
}

.dropdown-content a:hover {
    background-color: rgba(30, 95, 158, 0.1);
    color: var(--primary-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: var(--primary-blue);
    background-color: rgba(30, 95, 158, 0.1);
}

/* Hero 区域 */
.hero {
    margin-top: 30px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('http://uniex.world/wp-content/uploads/2025/11/home-background.png') center/cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 80px 120px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin-top: 50px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--dark-gray);
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 50px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.hero-content p::before,
.hero-content p::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: var(--dark-gray);
    max-width: 150px;
}

.cta-button {
    background-color: var(--yellow);
    color: var(--white);
    padding: 15px 50px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(245, 184, 65, 0.3);
}

.cta-button:hover {
    background-color: #e6a832;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 184, 65, 0.4);
}

.contact-info {
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

.contact-info p {
    margin: 5px 0;
    padding: 0;
}

.contact-info p::before,
.contact-info p::after {
    display: none;
}

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

/* 页面标题 */
.page-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--dark-gray);
    position: relative;
    padding-bottom: 20px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-blue));
}

/* 卡片布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

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

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 深色卡片 */
.card-dark {
    background-color: var(--dark-gray);
    color: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    animation: fadeIn 0.6s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-dark h3 {
    color: var(--white);
}

.card-dark p,
.card-dark li {
    color: rgba(255, 255, 255, 0.9);
}

/* 步骤流程 */
.steps-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 30px;
    margin: 50px auto;
    max-width: 100%;
    overflow-x: auto;
    padding: 20px 10px;
    scroll-behavior: smooth;
}

.steps-container::-webkit-scrollbar {
    height: 8px;
}

.steps-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.steps-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.step {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 25px 18px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    flex: 0 0 auto;
    width: 190px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 372px;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 95, 158, 0.15);
    border-color: var(--primary-blue);
}

.step::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid var(--primary-blue);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    z-index: 1;
    opacity: 0.7;
}

.step:last-child::after {
    display: none;
}

.step-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 30px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #667eea 100%);
    box-shadow: 0 5px 15px rgba(30, 95, 158, 0.25);
    transition: all 0.3s ease;
}

.step:nth-child(even) .step-icon {
    background: linear-gradient(135deg, var(--yellow) 0%, #ffb84d 100%);
    box-shadow: 0 5px 15px rgba(245, 184, 65, 0.25);
}

.step:nth-child(3n) .step-icon {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #5a6978 100%);
    box-shadow: 0 5px 15px rgba(61, 73, 88, 0.25);
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 95, 158, 0.35);
}

.step h3 {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-weight: bold;
    line-height: 1.5;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step p,
.step ul {
    font-size: 11.5px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
    flex: 1;
}

/* 信息表格 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: var(--border-radius);
}

.info-table tr {
    border-bottom: 1px solid #e0e0e0;
}

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

.info-table td {
    padding: 20px;
    vertical-align: top;
}

.info-table td:first-child {
    background-color: var(--dark-gray);
    color: var(--white);
    font-weight: bold;
    width: 30%;
}

.info-table td:last-child {
    background-color: var(--white);
    color: var(--text-dark);
}

/* FAQ 样式 */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.faq-question::before {
    content: '◆';
    margin-right: 10px;
    color: var(--primary-blue);
}

.faq-answer {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 25px;
}

/* 表单样式 */
.contact-form {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 95, 158, 0.1);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    margin: 30px auto 0;
}

.submit-button:hover {
    background-color: #154a7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 95, 158, 0.3);
}

/* 页脚 */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-info {
    margin-bottom: 15px;
    font-size: 14px;
}

/* 图像卡片 */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.image-card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

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

/* 特性列表 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.feature-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 圆形特性布局 */
.features-circle-layout {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
    min-height: 600px;
}

.feature-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.feature-center-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-circle-item {
    position: absolute;
    width: 310px;
}

.feature-circle-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-gray);
    font-weight: bold;
    line-height: 1.6;
}

.feature-circle-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.9;
}

.feature-top-left {
    top: 0;
    left: 0;
    text-align: left;
}

.feature-top-right {
    top: 0;
    right: 0;
    text-align: left;
}

.feature-bottom-left {
    bottom: 0;
    left: 0;
    text-align: left;
}

.feature-bottom-right {
    bottom: 0;
    right: 0;
    text-align: left;
}

/* 文本内容区 */
.text-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
}

.text-content p {
    margin-bottom: 20px;
}

/* 料金卡片样式 */
.pricing-card {
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.pricing-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-subtitle {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 20px;
    position: relative;
}

.pricing-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--yellow);
}

/* 证书展示 */
.certificates {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.certificate-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.certificate-item img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.certificate-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body.home-page {
        overflow: hidden;
    }

    .navbar {
        padding: 10px 15px;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 80px;
        height: 35px;
    }

    .logo-icon::before,
    .logo-icon::after {
        width: 15px;
        height: 15px;
    }

    .nav-menu {
        gap: 8px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    .nav-menu li a {
        padding: 6px 8px;
        white-space: nowrap;
    }

    .hero {
        margin-top: 60px;
        height: calc(100vh - 60px);
    }

    .hero-content {
        padding: 40px 30px;
        max-width: 95%;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
        padding: 10px 0;
        gap: 15px;
    }

    .hero-content p::before,
    .hero-content p::after {
        max-width: 50px;
    }

    .cta-button {
        padding: 12px 40px;
        font-size: 16px;
    }

    .contact-info {
        font-size: 11px;
        margin-top: 25px;
        line-height: 1.4;
    }

    .contact-info p {
        margin: 3px 0;
    }

    .page-title {
        font-size: 32px;
    }

    .steps-container {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
        padding: 10px;
    }

    .step {
        width: 100%;
        min-height: auto;
        padding: 25px 20px;
    }

    .step::after {
        display: none;
    }

    .step-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
        margin-bottom: 12px;
    }

    .step h3 {
        min-height: auto;
    }

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

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

    .features-circle-layout {
        padding: 40px 10px;
        min-height: 1200px;
    }

    .feature-center-circle {
        position: relative;
        width: 250px;
        height: 250px;
        margin: 300px auto;
        top: auto;
        left: auto;
        transform: none;
    }

    .feature-circle-item {
        position: relative;
        width: 100%;
        padding: 0 15px;
        margin-bottom: 40px;
        text-align: center;
    }

    .feature-top-left,
    .feature-top-right,
    .feature-bottom-left,
    .feature-bottom-right {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        text-align: center;
    }

    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table td:first-child {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }

    .info-table td:last-child {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
}


