/**
 * 广州奕矩科技 - 公共样式
 * https://www.wturi.com
 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Outfit', sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* 网格背景 */
.grid-bg {
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* 渐变光晕 */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.glow-cyan {
    background: radial-gradient(circle, #00f0ff 0%, transparent 70%);
}

.glow-pink {
    background: radial-gradient(circle, #ff3366 0%, transparent 70%);
}

.glow-orange {
    background: radial-gradient(circle, #ff6b35 0%, transparent 70%);
}

/* 文字渐变 */
.text-gradient {
    background: linear-gradient(135deg, #00f0ff 0%, #ff3366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 边框发光效果 */
.border-glow {
    position: relative;
}

.border-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #00f0ff, transparent, #ff3366);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* 按钮悬浮效果 */
.btn-cyber {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.btn-cyber:hover::after {
    width: 300px;
    height: 300px;
}

.btn-cyber:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

/* 卡片悬浮 */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
}

/* 滚动显示动画 */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 导航栏滚动效果 */
.nav-scrolled {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
}

/* 数字计数器 */
.counter {
    font-variant-numeric: tabular-nums;
}

/* 联系方式图标动画 */
.contact-icon {
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px currentColor);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00f0ff, #ff3366);
    border-radius: 4px;
}

/* 移动端菜单 */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* 产品标签动画 */
.tag-float {
    animation: tagFloat 3s ease-in-out infinite;
}

@keyframes tagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 流程图样式 */
.flow-line {
    position: relative;
}

.flow-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, currentColor, transparent);
    transform: translateY(-50%);
}

.flow-arrow {
    animation: flowPulse 2s ease-in-out infinite;
}

@keyframes flowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

.platform-icon {
    transition: all 0.3s ease;
}

.platform-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* 步骤连接线动画 */
.step-connector {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
    animation: connectorFlow 2s linear infinite;
}

@keyframes connectorFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 脉冲动画 */
.pulse-ring {
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 浮动动画 */
.float-animation {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 数据流动画 */
.data-flow {
    animation: dataFlowMove 3s linear infinite;
}

@keyframes dataFlowMove {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

