/* assets/css/style.css */

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #F5F6FA;
    color: #1A1A1A;
    line-height: 1.6;
}

/* ===== Container ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
/* ===== Container h2 调整 ===== */
.container h2 {
    position: relative;
    font-size: 28px;
    margin-top: 30px; /* 调整与上一行间距，可根据需要增加 */
    margin-bottom: 25px;
    font-weight: 600;
}
/* ===== Header ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #720EEC;
}

/* ===== Navigation ===== */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #1A1A1A;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #720EEC;
}

.nav-links li a.active {
    color: #720EEC;
    font-weight: bold;
}

/* ===== CTA Button ===== */
.btn {
    background: #720EEC;
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(114,14,236,0.3);
}

.btn:hover {
    background: #9B4DFF;
}

/* ===== Mobile Menu ===== */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #720EEC, #9B4DFF);
    color: #fff;
    padding: 140px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 750px;
    margin: auto;
    margin-bottom: 30px;
    font-size: 16px;
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

/* ===== Mixed Layout (Text + Image) ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.split img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 0 6px rgba(114,14,236,0.08);
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: rgba(255,255,255,0.9);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    backdrop-filter: blur(6px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(114,14,236,0.15);
}

/* ===== Image Style Upgrade ===== */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: 0.4s;
}

.card:hover img {
    transform: scale(1.05);
}

/* ===== Image Placeholder ===== */
.img-placeholder {
    width: 100%;
    height: 200px;
    background: #ddd;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* ===== Table ===== */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table th, table td {
    padding: 12px;
    border: 1px solid #eee;
    text-align: left;
}

/* ===== Footer ===== */
footer {
    background: #1A1A1A;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-grid h4 {
    margin-bottom: 15px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 8px;
}

.footer-grid ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-grid ul li a:hover {
    color: #fff;
}

/* ===== Footer Bottom Links Fix ===== */
.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #9B4DFF;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #aaa;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        width: 100%;
        flex-direction: column;
        display: none;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Core Services Circle Layout（优化版） ===== */

.services-circle {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 560px;
    margin: 80px auto;
}

/* ===== 中心图片（更大 + 更精致） ===== */
.center-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-image img {
    width: 650px;
    height: 650px;
    object-fit: cover;
    border-radius: 50%;

    /* 外层柔和紫光 */
    box-shadow: 
        0 0 0 10px rgba(114,14,236,0.06),
        0 0 40px rgba(114,14,236,0.15),
        0 15px 40px rgba(0,0,0,0.15);

    transition: 0.4s;
}

.center-image img:hover {
    transform: scale(1.03);
    box-shadow: 
        0 0 0 12px rgba(114,14,236,0.1),
        0 0 60px rgba(114,14,236,0.25),
        0 20px 50px rgba(0,0,0,0.2);
}

/* ===== 服务点 ===== */
.service-point {
    position: absolute;
    text-align: center;
    cursor: pointer;
}

/* 更均匀环绕布局（更高级） */
.point-1 {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.point-2 {
    bottom: 40px;
    left: -10px;
}

.point-3 {
    bottom: 40px;
    right: -10px;
}

/* ===== 圆点按钮（更精致） ===== */
.dot {
    background: linear-gradient(135deg, #720EEC, #9B4DFF);
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;

    box-shadow: 
        0 6px 18px rgba(114,14,236,0.35),
        0 0 0 2px rgba(255,255,255,0.3);

    transition: 0.3s;
}

.dot:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 
        0 10px 25px rgba(114,14,236,0.45),
        0 0 0 3px rgba(255,255,255,0.4);
}

/* ===== Tooltip（更科技感） ===== */
.tooltip {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);

    color: #1A1A1A;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    width: 240px;

    box-shadow: 
        0 15px 40px rgba(0,0,0,0.12),
        0 0 0 1px rgba(114,14,236,0.08);

    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* 显示 tooltip */
.service-point:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .services-circle {
        height: 420px;
        max-width: 100%;
    }

    .center-image img {
        width: 200px;
        height: 200px;
    }

    .tooltip {
        width: 180px;
        font-size: 12px;
    }
}
.container2 {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
/* ===== Container h2 调整 ===== */
.container2 h2 {
    position: relative;
    font-size: 28px;
    margin-top: 30px; /* 调整与上一行间距，可根据需要增加 */
    margin-bottom: 25px;
    padding-left: 25px; /* 为黑点留出空间 */
    font-weight: 600;
}

/* 在 h2 前添加黑点符号 */
.container2 h2::before {
    content: "\25CF"; /* Unicode 黑点 ● */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 28px;
    color: #BF92F6;
}
/* ===== Hero Logo ===== */
/* Hero Logo */
.hero-logo {
    display: block;
    margin: 0 auto 25px;
    width: 110px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 弯曲标题（优化弧度，字体完整显示） */
/* ===== Hero 弯曲标题（最终稳定版） ===== */

.hero-curve-title {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 5px; /* 再压一点间距 */
}

.hero-curve-title text {
    fill: #ffffff;
    font-size: 40px; /* 可以放心放大 */
    font-weight: 700;
    letter-spacing: 0.5px;
}
.hero-curve-title text {
    fill: #FFFF00;
    font-size: 40px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(255,255,255,0.25);
}
