/* ========================================
   Beijing Zongheng Zhicheng Technology Co., Ltd.
   Corporate Website Styles
   ======================================== */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --tech-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 0.3rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.lang-switch {
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--primary-color);
    color: white;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    background: var(--bg-gradient);
    color: white;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
    opacity: 0.3;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.banner-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.banner-image-placeholder:hover {
    transform: scale(1.05);
}

/* Banner Carousel Styles */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  background: transparent; /* 确保没有默认背景色 */
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 调整透明度以确保不影响背景图片 */
  pointer-events: none;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide.slide-1 {
    background-image: url('/assets/images/banners/warehouse-storage.jpg');
}
/* 确保每个幻灯片都有唯一的背景图片 */
.carousel-slide.slide-3 {
  background-image: url('/assets/images/banners/factory-production-line.jpg');
}



.carousel-slide.slide-2 {
  background-image: url('/assets/images/banners/industrial-operations.jpg');
}

/* 确保背景图片正确加载 */
.carousel-slide {
  background-color: transparent !important; /* 确保没有背景色覆盖图片 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.carousel-content {
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 3; /* 确保内容在所有层之上 */
  position: relative;
}

.carousel-text-content {
  text-align: left;
  padding-right: 2rem;
  /* 添加优雅的淡入动画 */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.3s;
}

.carousel-slide.active .carousel-text-content {
  opacity: 1;
  transform: translateY(0);
}

.carousel-text-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  /* 添加优雅的下划线动画 */
  position: relative;
  display: inline-block;
}

.carousel-text-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: white;
  /* 添加微妙的阴影效果 */
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* 淡入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 为按钮添加优雅的悬停效果 */
.carousel-text-content .btn {
  margin: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s forwards 0.6s;
  /* 添加微妙的发光效果 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-slide.active .carousel-text-content .btn:nth-child(1) {
  animation: fadeInUp 0.6s forwards 0.6s;
}

.carousel-slide.active .carousel-text-content .btn:nth-child(2) {
  animation: fadeInUp 0.6s forwards 0.8s;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  text-align: center;
  /*left: 50%;*/
  /*transform: translateX(-50%);*/
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  /* 添加微妙的脉冲效果 */
  position: relative;
}

.carousel-indicator::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.carousel-indicator.active::after {
  border-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
  background: white;
  transform: scale(1.2);
}

/* 为整个轮播添加微妙的边框光效 */
.banner-carousel::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid transparent;
  border-radius: 0;
  /* 创建动态边框效果，降低透明度以避免覆盖背景图片 */
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(22, 33, 62, 0.1), rgba(13, 110, 253, 0.1)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1; /* 降低z-index以避免覆盖内容 */
}

/* Page-specific banners for other pages */
.page-banner {
  width: 100%;
  height: 400px;
  min-height: 300px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 2rem;
}

.page-banner-content {
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  max-width: 80%;
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.page-banner p {
  font-size: 1.2rem;
  color: white;
}

/* Responsive adjustments for banner */
@media (max-width: 992px) {
  .carousel-text-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .carousel-text-content h1 {
    font-size: 2rem;
  }
  
  .carousel-text-content p {
    font-size: 1rem;
  }
  
  .page-banner {
    height: 300px;
  }
  
  .page-banner h1 {
    font-size: 2rem;
  }
  
  .page-banner p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .banner-carousel {
    height: 70vh;
    min-height: 400px;
  }
  
  .carousel-text-content h1 {
    font-size: 1.5rem;
  }
  
  .carousel-text-content p {
    font-size: 0.9rem;
  }
  
  .page-banner {
    height: 250px;
  }
  
  .page-banner h1 {
    font-size: 1.5rem;
  }

}

/* Stats Section */
.stats-section {
    padding: 2rem 0;
}

.stat-item {
    padding: 1rem;
}

.stat-icon {
    color: white;
}

/* Buttons */
.btn-primary-custom {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    color: var(--primary-color);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.about-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-icon i {
    font-size: 2.2rem;
    color: white;
    font-weight: 600;
}

/* Products Section */
.products-section {
    background: white;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 220px;
    /* 重新添加一个浅色背景作为占位，但确保不会覆盖图片 */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-tag {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Features Section */
.features-section {
    background: var(--secondary-color);
    color: white;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    opacity: 0.7;
}

/* Certifications */
.cert-badge {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-5px);
}

.cert-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .banner-title, .carousel-text-content h1 {
        font-size: 2.5rem;
    }

    .banner-subtitle, .carousel-text-content p {
        font-size: 1.2rem;
    }

    .banner-container, .banner-carousel {
        height: auto;
        min-height: 500px;
        padding: 3rem 0;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .banner-title, .carousel-text-content h1 {
        font-size: 2rem;
    }

    .banner-subtitle, .carousel-text-content p {
        font-size: 1.1rem;
    }

    .banner-container, .banner-carousel {
        min-height: 400px;
        padding: 2rem 0;
    }

    .stat-item {
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.fade-in.initial {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header */
.page-header {
    background: var(--bg-gradient);
    padding: 150px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb-custom {
    background: transparent;
    justify-content: center;
}

.breadcrumb-custom .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: white;
}

/* Company Info */
.company-info-section {
    background: white;
}

.info-table {
    width: 100%;
}

.info-table tr {
    border-bottom: 1px solid #e9ecef;
}

.info-table td {
    padding: 1rem 0;
}

.info-table td:first-child {
    font-weight: 600;
    width: 200px;
    color: var(--text-light);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bg-gradient);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Product Filter Button Styles */
[data-filter].active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3) !important;
}

[data-filter]:not(.active) {
    background-color: transparent !important;
    color: #6c757d !important;
}

[data-filter]:not(.active):hover {
    background-color: #f8f9fa !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Tech Effects and Animations */
.subtle-glow {
    position: relative;
    transition: all 0.3s ease;
}

.subtle-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--primary-color), #667eea, var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.subtle-glow:hover::before {
    opacity: 0.1;
}

.elegant-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.elegant-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.sophisticated-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.sophisticated-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.sophisticated-hover:hover::before {
    left: 100%;
}

.gradient-border {
    position: relative;
}

.gradient-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), #667eea, var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::after {
    opacity: 0.3;
}

.smooth-parallax {
    transition: transform 0.1s ease-out;
}

/* Minimal shimmer effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: all 0.8s;
}

.shimmer:hover::after {
    left: 120%;
}

/* Elegant pulse */
.elegant-pulse {
    animation: elegantPulse 2s infinite;
}

@keyframes elegantPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.2);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Smooth breathing effect */
.breathing {
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Refined slide effect */
.slide-reveal {
    position: relative;
    overflow: hidden;
}

.slide-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.slide-reveal:hover::before {
    transform: translateX(100%);
}

/* Elegant fade transitions */
.elegant-transition {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Enhanced button effects */
.btn-tech {
    position: relative;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-tech:hover::before {
    width: 300px;
    height: 300px;
}

/* Particle background effect */
.particle-bg {
    position: relative;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.3);
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* More pronounced tech effects */
.tech-focus {
    position: relative;
    transition: all 0.3s ease;
}

.tech-focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--primary-color), #667eea, var(--accent-color), #00c9ff);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    mask: radial-gradient(circle at center, black 60%, transparent 70%);
    filter: brightness(1.2);
}

.tech-focus:hover::before {
    opacity: 0.25;
}

.dynamic-glow {
    transition: all 0.4s ease;
    position: relative;
}

.dynamic-glow::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: calc(var(--bs-border-radius) + 5px);
    background: linear-gradient(45deg, var(--primary-color), #667eea, var(--accent-color), #00c9ff);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(2px);
}

.dynamic-glow:hover::after {
    opacity: 0.4;
}

/* Subtle tech pulse */
.tech-pulse {
    animation: techPulse 2.5s ease-in-out infinite;
}

@keyframes techPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.2);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(13, 110, 253, 0);
    }
}

/* Digital scan line */
.digital-scan {
    position: relative;
    overflow: hidden;
}

.digital-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.8), transparent);
    animation: digitalScan 2s linear infinite;
    z-index: 2;
}

@keyframes digitalScan {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Holographic effect */
.holographic-lite {
    position: relative;
}

.holographic-lite::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, 
        transparent 0%, 
        rgba(13, 110, 253, 0.05) 20%, 
        transparent 30%);
    transform: skewX(-10deg);
    transition: all 0.5s ease;
    z-index: 1;
}

.holographic-lite:hover::before {
    background: linear-gradient(120deg, 
        transparent 0%, 
        rgba(13, 110, 253, 0.15) 40%, 
        transparent 60%);
    transform: skewX(-10deg) translateX(100%);
}

/* Cyber grid background */
.cyber-grid-lite {
    position: relative;
    background-image: 
        linear-gradient(rgba(13, 110, 253, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Animated underline - Simplified version for titles */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Smooth elevation */
.smooth-elevation {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.smooth-elevation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: all 0.3s ease;
    z-index: -1;
    opacity: 0;
}

.smooth-elevation:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.smooth-elevation:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

/* Simplified cyber border effect for buttons */
.cyber-border {
    position: relative;
}

.cyber-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
    animation: cyberBorder 3s linear infinite;
}

.cyber-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary-color), var(--accent-color), transparent);
    animation: cyberBorderVertical 3s linear infinite;
    animation-delay: 0.5s;
}

@keyframes cyberBorder {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes cyberBorderVertical {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Simplified neon glow effect */
.neon-glow {
    position: relative;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
    transition: box-shadow 0.3s ease;
}

.neon-glow:hover {
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.4);
}

/* Floating animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
