/* tech-3d-company-website-071112/frontend/public/assets/css/styles.css */

:root {
  --neon-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --deep-bg: #050b14;
  --glass-bg: rgba(10, 20, 35, 0.6);
  --border-glow: 0 0 10px rgba(0, 243, 255, 0.3);
}

body {
  background-color: var(--deep-bg);
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 243, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.neon-text {
  text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue);
}

.neon-border:hover {
  border-color: var(--neon-blue);
  box-shadow: var(--border-glow);
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--neon-purple);
  box-shadow: 0 0 15px rgba(188, 19, 254, 0.4);
}

.btn-tech {
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

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

.btn-tech:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.three-container {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 243, 255, 0.2);
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.loading-spinner {
  border: 3px solid rgba(0, 243, 255, 0.1);
  border-top: 3px solid var(--neon-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.text-gradient {
  background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-blue);
}
/* 案例展示 */
.cases {
    padding: 5%;
    position: relative;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}


.case-card {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 212, 255, 0.15);
}

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

.case-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 45, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-placeholder span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    padding: 10px 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.case-content {
    padding: 30px;
}

.case-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 45, 255, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 15px;
}

.case-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.case-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.case-link:hover {
    color: #fff;
    gap: 10px;
}
/* 技术特性 */
.features {
    padding: 100px 50px;
    position: relative;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-video-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.engine-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engine-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 45, 255, 0.1) 100%);
    pointer-events: none;
}

.hologram {
    width: 350px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    animation: hologram-rotate 10s linear infinite;
}

@keyframes hologram-rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.hologram-ring {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    box-shadow: 0 0 30px var(--primary), inset 0 0 30px var(--primary);
}

.hologram-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    animation: ring-pulse 2s ease-in-out infinite;
}

.hologram-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation: ring-pulse 2s ease-in-out infinite 0.5s;
}

.hologram-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation: ring-pulse 2s ease-in-out infinite 1s;
}

@keyframes ring-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.hologram-core {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary), var(--secondary));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 60px var(--primary);
    animation: core-glow 2s ease-in-out infinite;
}

@keyframes core-glow {

    0%,
    100% {
        box-shadow: 0 0 60px var(--primary);
    }

    50% {
        box-shadow: 0 0 100px var(--primary), 0 0 150px var(--secondary);
    }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--glass);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(10px);
}

.feature-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    min-width: 40px;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}