/* 全局样式 */
:root {
    --primary-color: #007BFF;
    --secondary-color: #6c757d;
    --accent-color: #00C9FF;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --transition-speed: 0.3s;
    --container-padding-mobile: 16px;
    --section-spacing-mobile: 40px;
    --text-spacing-mobile: 16px;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-color);
}

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    background: rgba(2, 12, 27, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.1s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(2, 12, 27, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 700;
    color: #fff;
}

.tech-brand {
    background: linear-gradient(120deg, #64ffda, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    padding: 0 5px;
}

.tech-brand img {
    max-height: 40px;
    width: auto;
}

.navbar-collapse {
    transition: all 0.1s ease-out;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    padding: 0.5rem !important;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.1s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(120deg, #64ffda, #00bcd4);
    transition: width 0.1s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #64ffda !important;
}

/* 头部区域样式 */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(2, 12, 27, 0.95) 0%, rgba(2, 12, 27, 0.9) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: -1;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #fff, #64ffda);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.2);
    position: relative;
    animation: slideInFromLeft 1s ease-out;
}

.hero-content .lead {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #64ffda;
    font-weight: 400;
    animation: slideInFromLeft 1s ease-out 0.2s backwards;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.8;
    animation: slideInFromLeft 1s ease-out 0.4s backwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    position: relative;
    z-index: 1;
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-image img {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    background: linear-gradient(120deg, #64ffda, #00bcd4);
    z-index: 0;
    border-radius: 8px;
    opacity: 0.8;
    animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* 粒子效果 */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 按钮样式 */
.tech-btn {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.tech-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
    z-index: -1;
    transition: all 0.3s ease;
}

.tech-btn:hover:before {
    left: 100%;
}

.tech-btn:hover {
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
    transform: translateY(-3px);
}

/* 标题样式 */
.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    position: relative;
}

.title-underline:before {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: rgba(0, 123, 255, 0.3);
    top: 0;
    left: -60px;
}

.title-underline:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: rgba(0, 123, 255, 0.15);
    top: 0;
    left: -100px;
}

/* 关于我们样式 */
.about-image {
    position: relative;
    margin-bottom: 2rem;
}

.about-image:before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(0, 123, 255, 0.1);
    bottom: -15px;
    right: -15px;
    z-index: -1;
    border-radius: 0.3rem;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.about-item:hover i {
    transform: rotateY(180deg);
    color: var(--accent-color);
}

.about-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* 服务卡片样式 */
.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.5s ease;
    z-index: -1;
}

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

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--accent-color);
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-btn {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    border: 1px solid var(--primary-color);
    z-index: 1;
}

.service-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    z-index: -1;
}

.service-btn:hover:before {
    width: 100%;
}

.service-btn:hover {
    color: #fff;
    border-color: transparent;
}

/* 案例展示样式 */
.case-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.case-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

.case-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.case-image img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 123, 255, 0.8), rgba(0, 201, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-link {
    background-color: #fff;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-card:hover .case-link {
    transform: translateY(0);
}

.case-link:hover {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.case-content {
    padding: 1.8rem;
}

.case-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.case-content p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* 合作伙伴样式 */
.partner-logo {
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.1);
}

.partner-logo img {
    max-width: 100%;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* 联系我们样式 */
.contact-info {
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-item {
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
}

.contact-item i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(120deg, #64ffda, #00bcd4);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-5px) rotate(360deg);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.office-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.office-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, rgb(0, 40, 70) 0%, rgb(0, 20, 40) 100%);
    color: #fff;
    padding: 3rem 0 2rem;
}

footer h4, footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

footer i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:not(.active) {
    transform: translateY(20px);
}

.back-to-top:hover {
    background: linear-gradient(45deg, #1976D2, #0097A7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* 动画效果 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式样式 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .lead {
        font-size: 1.3rem;
    }
    .service-card, .case-card, .partner-logo {
        margin-bottom: 2rem;
    }
    .nav-link {
        margin: 0.5rem 0;
        text-align: center;
    }
    .navbar-collapse {
        background: rgba(2, 12, 27, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem var(--container-padding-mobile);
    }
    
    .navbar-toggler {
        padding: 4px 8px;
        border: none;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .navbar-collapse {
        background: rgba(2, 12, 27, 0.98);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform-origin: top;
        will-change: transform, opacity;
    }

    .nav-link {
        padding: 0.8rem !important;
        margin: 0.2rem 0;
        transition: background-color 0.1s ease;
    }

    .nav-link:active {
        background: rgba(100, 255, 218, 0.1);
    }

    .tech-brand img {
        max-height: 32px;
    }

    .hero-section {
        min-height: calc(100vh - 60px);
        padding: 80px var(--container-padding-mobile) 40px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: var(--text-spacing-mobile);
    }

    .hero-content .lead {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: var(--text-spacing-mobile);
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: var(--text-spacing-mobile);
        opacity: 0.9;
    }

    .hero-image {
        margin: 2rem -16px 0;
        padding: 0 var(--container-padding-mobile);
    }

    .hero-image img {
        width: 100%;
        border-radius: 12px;
    }

    .section {
        padding: var(--section-spacing-mobile) 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .about-content {
        padding: 0;
    }

    .about-item {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .case-card {
        margin-bottom: 1.5rem;
    }

    .case-image {
        height: 180px;
    }

    .case-content {
        padding: 1.2rem;
    }

    .case-content h4 {
        font-size: 1.2rem;
    }

    .contact-info {
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .contact-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .contact-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .contact-item h4 {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .contact-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .footer {
        padding: 2.5rem 0 2rem;
        text-align: center;
    }

    .footer .col-md-4,
    .footer .col-md-2 {
        margin-bottom: 2rem;
    }

    .footer h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer ul {
        padding-left: 0;
    }

    .footer ul li {
        margin-bottom: 0.8rem;
    }

    .footer p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content .lead {
        font-size: 1.1rem;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .tech-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    .case-card .case-image {
        height: 200px;
    }
    .contact-item i {
        font-size: 2rem;
    }
}

/* 移动端性能优化 */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .hero-section::before,
    .hero-image::after,
    .about-image::before,
    .service-card::before {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .animate__animated {
        animation: none !important;
    }
}

/* 移动端触摸优化 */
@media (hover: none) {
    .nav-link,
    .tech-btn,
    .service-card,
    .case-card,
    .contact-item,
    .back-to-top {
        transition: none;
    }

    .nav-link:active,
    .tech-btn:active,
    .service-btn:active {
        opacity: 0.8;
    }

    .case-overlay {
        display: none;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .case-image {
        height: 160px;
    }

    .contact-item {
        padding: 1.2rem;
    }

    .back-to-top {
        width: 35px;
        height: 35px;
        bottom: 15px;
        right: 15px;
    }
}

/* 按钮基础样式 */
.consultation-btn,
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 10px;
    min-width: 160px;
}

.consultation-btn {
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.consultation-btn i {
    margin-right: 8px;
    font-size: 1.2em;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    color: #fff;
}

.learn-more-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.learn-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

/* 移动端按钮样式优化 */
@media (max-width: 768px) {
    .consultation-btn,
    .learn-more-btn {
        padding: 12px 24px;
        font-size: 1rem;
        min-width: 140px;
        margin: 8px 4px;
    }

    .hero-section .btn-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 var(--container-padding-mobile);
        margin-top: 24px;
    }

    .consultation-btn,
    .learn-more-btn {
        width: 100%;
        margin: 0;
    }

    .consultation-btn {
        order: 1;
    }

    .learn-more-btn {
        order: 2;
    }
}

/* 超小屏幕按钮优化 */
@media (max-width: 360px) {
    .consultation-btn,
    .learn-more-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: auto;
    }

    .consultation-btn i,
    .learn-more-btn i {
        font-size: 1.1em;
    }
}

/* 触摸设备按钮优化 */
@media (hover: none) {
    .consultation-btn:active,
    .learn-more-btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .consultation-btn:hover,
    .learn-more-btn:hover {
        transform: none;
        box-shadow: none;
    }
} 