/* 全局样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #1890ff;
--primary-dark: #096dd9;
--secondary-color: #52c41a;
--text-color: #333;
--text-light: #666;
--text-lighter: #999;
--bg-color: #f5f5f5;
--white: #ffffff;
--border-color: #e8e8e8;
--shadow: 0 2px 8px rgba(0,0,0,0.1);
--shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--white);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* 按钮样式 */
.btn {
display: inline-block;
padding: 12px 30px;
border-radius: 4px;
text-decoration: none;
font-size: 16px;
transition: all 0.3s ease;
cursor: pointer;
border: none;
}
.btn-primary {
background-color: var(--primary-color);
color: var(--white);
}
.btn-primary:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
box-shadow: var(--shadow-hover);
}
.btn-outline {
background-color: transparent;
color: var(--primary-color);
border: 2px solid var(--primary-color);
}
.btn-outline:hover {
background-color: var(--primary-color);
color: var(--white);
}
/* 头部导航 */
.header {
background-color: var(--white);
box-shadow: var(--shadow);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.header .container {
display: flex;
align-items: center;
justify-content: space-between;
height: 80px;
}
.logo {
display: flex;
align-items: center;
gap: 15px;
}
.logo img {
max-width: 150px;
height: auto;
max-height: 50px;
}
.logo-text h1 {
font-size: 20px;
color: var(--primary-color);
margin-bottom: 2px;
}
.logo-text span {
font-size: 12px;
color: var(--text-light);
}
.nav ul {
display: flex;
list-style: none;
gap: 30px;
}
.nav li {
position: relative;
}
.nav a {
text-decoration: none;
color: var(--text-color);
font-size: 16px;
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-color: var(--primary-color);
transition: width 0.3s;
}
.nav a:hover::after,
.nav a.active::after {
width: 100%;
}
/* 下拉菜单箭头 - 文字右侧 */
.has-dropdown > a .dropdown-arrow {
display: inline-block;
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid currentColor;
margin-left: 6px;
vertical-align: middle;
position: relative;
top: -2px;
}
/* 下拉菜单 */
.dropdown {
display: none !important;
position: absolute;
top: 100%;
left: -10px;
min-width: 160px;
background: white;
border-radius: 6px;
box-shadow: 0 4px 20px rgba(0,0,0,0.12);
padding: 8px 0;
z-index: 100;
list-style: none;
border-top: 3px solid var(--primary-color);
}
.has-dropdown:hover > .dropdown {
display: block !important;
animation: dropdownFade 0.25s ease;
}
@keyframes dropdownFade {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.dropdown li {
margin: 0;
}
.dropdown li a {
display: block;
padding: 10px 20px;
font-size: 14px;
color: #333;
white-space: nowrap;
transition: all 0.2s;
}
.dropdown li a::after {
display: none;
}
.dropdown li a:hover {
color: var(--primary-color);
background: #f0f7ff;
padding-left: 24px;
}
.dropdown li a::before {
content: '';
display: inline-block;
width: 3px;
height: 0;
background: var(--primary-color);
border-radius: 2px;
margin-right: 0;
transition: height 0.2s;
vertical-align: middle;
margin-right: 10px;
}
.dropdown li a:hover::before {
height: 14px;
}
.contact-info {
display: flex;
align-items: center;
gap: 8px;
color: var(--primary-color);
font-size: 14px;
}
.mobile-menu-btn {
display: none;
font-size: 24px;
cursor: pointer;
}
/* Banner轮播 */
.banner {
margin-top: 80px;
height: 600px;
position: relative;
overflow: hidden;
}
.banner-slider {
height: 100%;
position: relative;
}
.slide {
position: absolute;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
opacity: 0;
transition: opacity 0.5s;
display: flex;
align-items: center;
justify-content: center;
}
.slide.active {
opacity: 1;
}
.slide::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.4);
}
.slide-content {
position: relative;
z-index: 1;
text-align: center;
color: var(--white);
padding: 0 20px;
}
.slide-content h2 {
font-size: 48px;
margin-bottom: 20px;
animation: fadeInUp 0.8s ease;
}
.slide-content p {
font-size: 20px;
margin-bottom: 30px;
animation: fadeInUp 0.8s ease 0.2s both;
}
.slide-content .btn {
animation: fadeInUp 0.8s ease 0.4s both;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.banner-dots {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: rgba(255,255,255,0.5);
cursor: pointer;
transition: background-color 0.3s;
}
.dot.active {
background-color: var(--white);
}
/* 通用section样式 */
section {
padding: 80px 0;
}
.section-header {
text-align: center;
margin-bottom: 50px;
}
.section-header h2 {
font-size: 36px;
color: var(--text-color);
margin-bottom: 10px;
}
.section-header p {
font-size: 16px;
color: var(--text-light);
}
/* 核心业务 */
.services {
background-color: var(--bg-color);
}
.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}
.service-card {
background-color: var(--white);
padding: 40px 30px;
border-radius: 8px;
text-align: center;
transition: all 0.3s ease;
box-shadow: var(--shadow);
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}
.service-icon {
width: 80px;
height: 80px;
background-color: var(--primary-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
}
.service-icon i {
font-size: 36px;
color: var(--white);
}
.service-card h3 {
font-size: 20px;
margin-bottom: 15px;
color: var(--text-color);
}
.service-card p {
font-size: 14px;
color: var(--text-light);
margin-bottom: 20px;
line-height: 1.8;
}
/* 关于我们 */
.about {
background-color: var(--white);
}
.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.about-text h2 {
font-size: 36px;
margin-bottom: 20px;
}
.about-text p {
font-size: 16px;
color: var(--text-light);
margin-bottom: 20px;
line-height: 1.8;
}
.about-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin: 30px 0;
}
.stat-item {
text-align: center;
}
.stat-number {
display: block;
font-size: 36px;
font-weight: bold;
color: var(--primary-color);
}
.stat-label {
font-size: 14px;
color: var(--text-light);
}
.about-image img {
width: 100%;
border-radius: 8px;
box-shadow: var(--shadow);
}
/* 为什么选择我们 */
.why-us {
background-color: var(--bg-color);
}
.features-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}
.feature-item {
text-align: center;
padding: 30px;
}
.feature-item i {
font-size: 48px;
color: var(--primary-color);
margin-bottom: 20px;
}
.feature-item h3 {
font-size: 20px;
margin-bottom: 10px;
}
.feature-item p {
font-size: 14px;
color: var(--text-light);
}
/* 成功案例 */
.cases {
background-color: var(--bg-color);
}
.cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
margin-bottom: 40px;
}
.case-card {
background-color: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: var(--shadow);
transition: all 0.3s ease;
}
.case-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}
.case-image {
width: 100%;
height: 250px;
overflow: hidden;
}
.case-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.case-card:hover .case-image img {
transform: scale(1.05);
}
.case-content {
padding: 25px;
}
.case-content h3 {
font-size: 20px;
margin-bottom: 12px;
color: var(--text-color);
}
.case-content p {
font-size: 14px;
color: var(--text-light);
line-height: 1.6;
margin-bottom: 15px;
}
.case-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tag {
padding: 5px 12px;
background-color: var(--primary-color);
color: var(--white);
font-size: 12px;
border-radius: 20px;
}
.cases-more {
text-align: center;
}
/* 合作伙伴 */
.partners {
background-color: var(--white);
}
.partners-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 30px;
align-items: center;
}
.partner-logo {
padding: 20px;
background-color: var(--bg-color);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
height: 100px;
transition: all 0.3s;
font-size: 14px;
color: #666;
font-weight: 500;
text-align: center;
line-height: 1.3;
}
.partner-logo:hover {
box-shadow: var(--shadow);
color: #1890ff;
}
.partner-logo img {
max-width: 100%;
max-height: 60px;
filter: grayscale(100%);
transition: filter 0.3s;
}
.partner-logo:hover img {
filter: grayscale(0);
}
/* 页面标题 */
.page-header {
margin-top: 80px;
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
color: var(--white);
padding: 60px 0;
text-align: center;
}
.page-header h1 {
font-size: 42px;
margin-bottom: 10px;
}
.page-header p {
font-size: 18px;
opacity: 0.9;
}
/* 案例页面 */
.cases-page {
background-color: var(--white);
}
.cases-page .cases-grid {
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.case-desc {
color: var(--text-light);
margin-bottom: 15px;
}
.case-info {
background-color: var(--bg-color);
padding: 15px;
border-radius: 6px;
margin-bottom: 15px;
}
.case-info p {
margin-bottom: 8px;
font-size: 14px;
}
.case-info i {
color: var(--primary-color);
width: 20px;
}
/* 底部 */
.footer {
background: #1a1a2e;
}
.footer-top {
background: #222238;
padding: 30px 0;
}
.footer-main {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 40px;
}
.footer-left {
flex: 1;
max-width: 400px;
}
.footer-logo {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
}
.footer-logo img {
height: 32px;
}
.footer-logo span {
font-size: 16px;
font-weight: bold;
color: var(--white);
}
.footer-nav {
display: flex;
flex-wrap: wrap;
gap: 20px;
list-style: none;
margin-bottom: 15px;
padding-top: 10px;
border-top: 1px solid #333;
}
.footer-nav li a {
color: #aaa;
text-decoration: none;
font-size: 13px;
transition: color 0.3s;
}
.footer-nav li a:hover {
color: var(--primary-color);
}
.footer-contact p {
color: #888;
font-size: 12px;
margin-bottom: 6px;
display: flex;
align-items: center;
gap: 8px;
}
.footer-contact p i {
color: var(--primary-color);
width: 14px;
}
.footer-center {
text-align: center;
padding: 20px 40px;
border-left: 1px solid #333;
border-right: 1px solid #333;
}
.footer-center span {
display: block;
color: #888;
font-size: 12px;
margin-bottom: 5px;
}
.footer-center b {
display: block;
font-size: 28px;
color: var(--white);
font-weight: bold;
margin: 8px 0;
}
.footer-center .contact-btn {
display: inline-block;
margin-top: 12px;
padding: 8px 25px;
background: var(--primary-color);
color: white;
border-radius: 20px;
text-decoration: none;
font-size: 13px;
transition: background 0.3s;
}
.footer-center .contact-btn:hover {
background: var(--primary-dark);
}
.footer-right {
display: flex;
gap: 20px;
}
.qrcode-item {
text-align: center;
}
.qrcode-item img {
width: 90px;
height: 90px;
border-radius: 4px;
margin-bottom: 6px;
}
.qrcode-item span {
display: block;
color: #888;
font-size: 11px;
}
.footer-bottom {
background: #1a1a2e;
padding: 15px 0;
text-align: center;
border-top: 1px solid #2a2a3e;
}
.footer-bottom span,
.footer-bottom a {
color: #666;
font-size: 12px;
}
.footer-bottom .divider {
margin: 0 10px;
color: #444;
}
.footer-bottom a {
text-decoration: none;
}
.footer-bottom a:hover {
color: #888;
}
/* 响应式设计 */
@media (max-width: 1024px) {
.services-grid {
grid-template-columns: repeat(2, 1fr);
}

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

.partners-grid {
grid-template-columns: repeat(3, 1fr);
}

.about-content {
grid-template-columns: 1fr;
}

.footer-main {
flex-direction: column;
align-items: stretch;
}
.footer-left {
max-width: 100%;
}
.footer-center {
border-left: none;
border-right: none;
border-top: 1px solid #333;
border-bottom: 1px solid #333;
}
.footer-right {
justify-content: center;
}
}
@media (max-width: 768px) {
.nav {
display: none;
}

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

.contact-info {
display: none;
}

.banner {
height: 400px;
}

.slide-content h2 {
font-size: 28px;
}

.slide-content p {
font-size: 16px;
}

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

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

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

.footer-nav {
justify-content: center;
}
.footer-center b {
font-size: 22px;
}
.footer-bottom {
font-size: 11px;
}
}
/* ========== 增强响应式设计 ========== */
/* 平板竖屏 */
@media (max-width: 900px) {
.cases-page .cases-grid {
grid-template-columns: 1fr;
}
.footer-right {
flex-wrap: wrap;
justify-content: center;
}
.qrcode-item img {
width: 70px;
height: 70px;
}
}
/* 手机横屏 */
@media (max-width: 768px) {
.container {
padding: 0 15px;
}
/* Header */
.header .container {
height: 60px;
}
.logo img {
max-width: 110px;
max-height: 40px;
}
.logo-text h1 {
font-size: 16px;
}
/* 导航移动端 */
.nav {
display: none;
position: fixed;
top: 60px;
left: 0;
right: 0;
background: #fff;
padding: 0;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
z-index: 999;
max-height: calc(100vh - 60px);
overflow-y: auto;
}
.nav.open {
display: block !important;
}
.nav ul {
flex-direction: column;
width: 100%;
gap: 0;
}
.nav ul li {
width: 100%;
border-bottom: 1px solid #f0f0f0;
}
.nav ul li a {
display: block;
padding: 14px 20px;
font-size: 15px;
border-radius: 0;
}
.nav ul li a::after {
display: none;
}
.nav .has-dropdown > a {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav .dropdown {
display: none !important;
position: static;
box-shadow: none;
border-top: none;
background: #f8f9fa;
padding: 0;
}
.nav .has-dropdown.dropdown-open > .dropdown {
display: block !important;
}
.nav .dropdown li a {
padding: 12px 20px 12px 35px;
font-size: 14px;
color: #666;
}
.nav .dropdown li a::before {
content: '·';
margin-right: 8px;
color: #1890ff;
}
.nav .dropdown li a:hover {
background: #e6f7ff;
padding-left: 38px;
}
/* Banner */
.banner {
height: 320px;
margin-top: 60px;
}
.slide-content h2 {
font-size: 22px;
padding: 0 15px;
}
.slide-content p {
font-size: 14px;
padding: 0 15px;
}
.slide-content .btn {
font-size: 14px;
padding: 10px 24px;
}
/* Page Header */
.page-header {
margin-top: 60px;
padding: 40px 0;
}
.page-header h1 {
font-size: 24px;
}
.page-header p {
font-size: 14px;
}
/* Section */
section {
padding: 50px 0;
}
.section-header h2 {
font-size: 26px;
}
/* About Stats */
.about-stats {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.stat-number {
font-size: 28px;
}
/* Cases Grid */
.cases-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.case-image {
height: 200px;
}
/* Footer */
.footer-main {
flex-direction: column;
align-items: stretch;
gap: 30px;
}
.footer-left {
max-width: 100%;
}
.footer-center {
border-left: none;
border-right: none;
border-top: 1px solid #333;
border-bottom: 1px solid #333;
padding: 20px;
}
.footer-center b {
font-size: 22px;
}
.footer-right {
justify-content: center;
flex-wrap: wrap;
}
.footer-nav {
justify-content: center;
}
.footer-bottom {
font-size: 11px;
}
.footer-bottom span,
.footer-bottom a {
font-size: 11px;
}
}
/* 手机竖屏 */
@media (max-width: 480px) {
.container {
padding: 0 12px;
}
.header .container {
height: 55px;
}
.logo img {
max-width: 90px;
max-height: 35px;
}
.logo-text h1 {
font-size: 14px;
}
.logo {
gap: 8px;
}
/* Banner */
.banner {
height: 260px;
margin-top: 55px;
}
.slide-content h2 {
font-size: 20px;
}
.slide-content p {
font-size: 13px;
}
/* Page Header */
.page-header {
margin-top: 55px;
padding: 30px 0;
}
.page-header h1 {
font-size: 20px;
}
.page-header p {
font-size: 13px;
}
/* Section */
section {
padding: 35px 0;
}
.section-header h2 {
font-size: 22px;
}
/* Services Grid */
.services-grid,
.features-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.service-card {
padding: 25px 20px;
}
/* Stats */
.about-stats {
grid-template-columns: repeat(2, 1fr);
}
.stat-number {
font-size: 24px;
}
.stat-label {
font-size: 12px;
}
/* Partners */
.partners-grid {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.partner-logo {
font-size: 12px;
padding: 15px 10px;
height: 80px;
}
/* Cases */
.case-content h3 {
font-size: 18px;
}
.case-content p {
font-size: 13px;
}
/* Footer */
.footer-center b {
font-size: 20px;
}
.qrcode-item img {
width: 60px;
height: 60px;
}
.qrcode-item span {
font-size: 10px;
}
.footer-contact p {
font-size: 11px;
}
}
/* ========== 子目录页面公共响应式（instruments/repair/lab-design） ========== */
/* 侧边栏布局（services.html） */
@media (max-width: 900px) {
.content-layout {
flex-direction: column;
}
.sidebar {
width: 100%;
}
.sidebar-nav {
display: flex;
flex-wrap: wrap;
background: #f8f9fa;
border: 1px solid #e8e8e8;
border-radius: 8px;
overflow: hidden;
}
.sidebar-nav a {
border-bottom: none;
border-right: 1px solid #e8e8e8;
}
.sidebar-nav a:last-child {
border-right: none;
}
}
/* 仪器/维修列表页（instruments/*.html, repair/*.html） */
@media (max-width: 768px) {
.list-section {
padding: 30px 0;
}
.list-header h2 {
font-size: 20px;
}
.category-grid,
.instrument-grid,
.service-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.category-card-img,
.instrument-img,
.service-card-icon {
height: 140px;
font-size: 36px;
}
.category-card-body,
.instrument-body,
.service-card-body {
padding: 20px;
}
.consult-bar {
flex-direction: column;
text-align: center;
padding: 25px 20px;
}
.feature-list {
padding: 20px;
border-radius: 8px;
}
.feature-items {
grid-template-columns: 1fr 1fr;
}
.feature-item {
font-size: 13px;
}
}
/* 详情页（instruments/detail-*, repair/detail-*） */
@media (max-width: 900px) {
.detail-grid {
grid-template-columns: 1fr;
gap: 25px;
}
.detail-images {
position: static;
}
.main-image {
height: 250px;
font-size: 48px;
}
}
@media (max-width: 480px) {
.detail-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.main-image {
height: 200px;
font-size: 40px;
}
.detail-info h1 {
font-size: 20px;
}
.price {
font-size: 22px;
}
.contact-btns {
flex-direction: column;
gap: 10px;
}
.btn-primary,
.btn-outline {
width: 100%;
padding: 12px;
font-size: 14px;
}
.spec-table td {
padding: 10px 0;
font-size: 13px;
}
.desc-section h2 {
font-size: 18px;
}
.desc-section p {
font-size: 14px;
}
}
/* 实验室设计详情页（lab-design/*） */
@media (max-width: 900px) {
.detail-section {
padding: 30px 0;
}
.intro-block {
padding: 25px;
}
.flow-steps {
grid-template-columns: 1fr;
}
.flow-step {
padding: 20px 15px;
}
.advantage-grid,
.solution-grid {
grid-template-columns: 1fr;
}
.pain-grid {
grid-template-columns: 1fr 1fr;
}
.cta-bar {
flex-direction: column;
text-align: center;
padding: 25px 20px;
}
}
@media (max-width: 480px) {
.pain-grid {
grid-template-columns: 1fr;
}
.case-tags {
gap: 8px;
}
.case-tag {
font-size: 12px;
padding: 8px 16px;
}
.intro-block img {
max-width: 100%;
}
}
/* 搬迁流程图响应式 */
.flowchart-container {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
flex-wrap: wrap;
background: #f8f9fa;
padding: 30px;
border-radius: 12px;
}
.flow-step {
text-align: center;
padding: 20px;
background: white;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
min-width: 120px;
transition: transform 0.3s, box-shadow 0.3s;
}
.flow-step:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.flow-step-icon {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px;
font-size: 24px;
color: white;
}
@media (max-width: 1200px) {
.flowchart-container {
gap: 10px;
padding: 20px;
}
.flow-step {
min-width: 100px;
padding: 15px;
}
}
@media (max-width: 768px) {
.flowchart-container {
flex-direction: column;
gap: 5px;
padding: 15px;
}
.flowchart-container > div:not(.flow-step) {
display: none;
}
.flow-step {
width: 100%;
max-width: 300px;
display: flex;
align-items: center;
gap: 15px;
text-align: left;
}
.flow-step > div:first-child {
margin: 0;
flex-shrink: 0;
}
.flow-step > div:last-child {
display: none;
}
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 电话弹窗样式 */
.phone-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.phone-modal.show {
    opacity: 1;
    visibility: visible;
}
.phone-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.phone-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 40px 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    min-width: 300px;
}
.phone-modal.show .phone-modal-content {
    transform: translate(-50%, -50%) scale(1);
}
.phone-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.phone-modal-close:hover {
    color: #333;
}
.phone-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #52c41a, #389e0d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.phone-modal-icon i {
    font-size: 36px;
    color: white;
}
.phone-modal-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}
.phone-modal-number {
    font-size: 36px;
    font-weight: bold;
    color: #52c41a;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.phone-modal-time {
    color: #999;
    font-size: 14px;
    margin-bottom: 25px;
}
.phone-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #52c41a, #389e0d);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.phone-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 196, 26, 0.4);
}

/* 手机端弹窗样式 */
@media (max-width: 480px) {
    .phone-modal-content {
        min-width: 280px;
        padding: 30px 25px;
    }
    .phone-modal-number {
        font-size: 28px;
    }
    .phone-modal-icon {
        width: 60px;
        height: 60px;
    }
    .phone-modal-icon i {
        font-size: 28px;
    }
}

