/* 基础重置与变量定义 */
:root {
  --primary-color: #4a90e2;
  --primary-dark: #357abd;
  --secondary-color: #6c757d;
  --secondary-dark: #545b62;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #888;
  --bg-color: #fafafa;
  --white: #fff;
  --black: #000;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 10px;
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

/* 动画定义 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    transform: rotate(-10deg);
    opacity: 0;
  }
  to {
    transform: rotate(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 头部样式 */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  animation: fadeInDown 0.8s ease-out;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    height: 70px;
    transition: all 0.3s ease;
}

header.scrolled .logo {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

header.scrolled .logo-image {
    max-height: 40px;
    transition: all 0.3s ease;
}

header.scrolled nav ul li a {
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(74, 144, 226, 0.2);
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  transition: var(--transition);
  display: inline-block;
  position: relative;
}

.logo:hover {
  color: var(--primary-dark);
  transform: scale(1.02);
  text-shadow: 2px 2px 5px rgba(74, 144, 226, 0.4);
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), rgba(74, 144, 226, 0));
  opacity: 0.7;
  transition: var(--transition);
}

.logo:hover::after {
  bottom: -8px;
  opacity: 1;
}

.logo-image {
  max-height: 50px;
  width: auto;
  transition: var(--transition);
}

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

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

header.scrolled nav ul li a {
  color: var(--text-color);
}

nav ul li a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-light);
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--primary-color);
}

header.scrolled .menu-toggle {
  color: var(--text-color);
}

@media (max-width: 768px) {
        header.scrolled {
        height: auto; /* 移动端保持自动高度 */
    }
    
    header.scrolled nav ul.show {
        top: 100%;
    }
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
  }

  nav ul.show {
    display: flex;
    animation: fadeInDown 0.3s ease-out;
  }

  nav ul li {
    margin: 0;
    text-align: center;
    padding: 0.5rem 0;
  }

  nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
  }

  .logo-image {
    max-height: 40px;
  }
}

/* 主要内容区域 */
main {
  padding-top: 0;
  overflow-x: hidden;
}

section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

section.hero {
  padding: 0;
  height: 100vh;
  max-width: none;
}

/* 英雄区域样式 */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.fullscreen-swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.slide-content {
    text-align: center;
    max-width: 80%;
    color: var(--white);
    padding: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}


.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.7;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
  transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  display: none;
}

.swiper-pagination {
  bottom: 20px !important;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out 0.6s both;
  box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button::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: 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
}

@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }
}

/* 通用部分标题样式 */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding: 20px 0;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 0;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

/* 关于我们部分 */
.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  animation: fadeIn 1s ease-out;
}

.about-image {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image:hover {
  transform: translateY(-10px);
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-img6 {
  width: 2%;
  height: auto;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .about-image {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* 服务部分 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.service-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

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

.service-item h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-item p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-decoration {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(74, 144, 226, 0.1);
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition);
}

.service-item:hover .service-decoration {
  transform: scale(1.2);
}

.service-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  transition: var(--transition);
  transform: scale(0);
  z-index: 1;
}

.service-item:hover::before {
  transform: scale(1);
}

.service-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  position: relative;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.service-link:hover {
  color: var(--primary-dark);
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* 团队部分 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 添加响应式调整 */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr; /* 手机端改为单列 */
    }
}

.team-member {
  background-color: var(--white);
  border-radius: 20px; 
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  animation: rotateIn 1s ease-out;
  position: relative;
}

.team-member:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.member-image {
  height: 300px;
  overflow: hidden;
}

.team-member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(20%);
}

.team-member:hover .team-member-img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.member-info {
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-info h3 {
  margin: 0.5rem 0;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.position {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.bio {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: auto;
}

.social-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(74, 144, 226, 0.1);
}

.social-icon:hover {
  transform: scale(1.2);
  color: var(--white);
  background-color: var(--primary-color);
}

.member-number {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 5rem;
  font-weight: bold;
  color: rgba(74, 144, 226, 0.1);
  line-height: 1;
  z-index: 0;
}

@media (max-width: 768px) {
  .member-image {
    height: 250px;
  }

  .member-info {
    padding: 1.5rem;
  }

  .member-number {
    font-size: 4rem;
  }

  .member-info h3 {
    font-size: 1.5rem;
  }

  .position {
    font-size: 1rem;
  }

  .bio {
    font-size: 0.9rem;
  }

  .social-icon {
    font-size: 1.3rem;
    width: 35px;
    height: 35px;
  }
}

/* 作品集部分 */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  animation: scaleIn 1s ease-out;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.portfolio-item img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  transition: var(--transition);
}

@media (max-width: 768px) {
    .portfolio-item img {
  height: 50%;
}
}
.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-info {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  background-color: var(--white);
}

.portfolio-info h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.portfolio-info p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.portfolio-info .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.portfolio-info .btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 20px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  animation: pulse 2s infinite;
}

@media (max-width: 768px) {
  .portfolio-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* 团队查询部分 */
#team-query {
  background-color: #f8f9fa;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#team-query::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.team-query-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.custom-btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  min-width: 200px;
}

.custom-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.custom-btn:hover::after {
  left: 100%;
}

.btn-primary.custom-btn {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.btn-primary.custom-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
}

.btn-secondary.custom-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.btn-secondary.custom-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(108, 117, 125, 0.4);
}

@media (max-width: 768px) {
  .team-query-content {
    flex-direction: column;
    align-items: center;
  }

  .custom-btn {
    width: 80%;
    margin-bottom: 1rem;
  }
}

/* 工作室文化部分 */
#studio-culture {
  background-color: var(--white);
  padding: 4rem 5%;
  position: relative;
}

.culture-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.culture-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.culture-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.culture-item:hover::before {
  height: 100%;
}

.culture-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.culture-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.culture-item p {
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* 工作室环境部分 */
#studio-environment {
  background-color: var(--white);
  padding: 4rem 5%;
  position: relative;
}

.environment-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.environment-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.environment-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.environment-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.environment-item:hover img {
  transform: scale(1.05);
}

.environment-info {
  padding: 1.5rem;
}

.environment-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.environment-info p {
  color: var(--text-color);
  line-height: 1.6;
}

/* 页脚样式 */
footer {
  background-color: #444;
  color: #eee;
  text-align: center;
  padding: 2rem;
  position: relative;
}

footer p {
  margin-bottom: 0.5rem;
}

.icp-record {
  margin-top: 15px;
  font-size: 14px;
  color: #eee;
}

.icp-record a {
  color: #eee;
  text-decoration: none;
  transition: var(--transition);
}

.icp-record a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* 模态框样式 */
.modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
}

.modal-content {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid #e9ecef;
  background-color: #f8f9fa;
  padding: 1.5rem;
}

.modal-title {
  font-weight: bold;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-body {
  padding: 1.5rem;
}

.modal-body form {
  margin-bottom: 0;
}

.modal-body .form-label {
  font-weight: bold;
  color: var(--text-color);
}

.modal-body .form-control {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 0.75rem;
  transition: var(--transition);
}

.modal-body .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

.modal-footer {
  justify-content: center !important;
  padding: 1rem;
  border-top: 1px solid #e9ecef;
  background-color: #f8f9fa;
}

.modal-footer .btn {
  min-width: 100px;
  margin: 0 10px;
  border-radius: 5px;
  transition: var(--transition);
}

.modal-header .btn-close {
  margin: -0.5rem -0.5rem -0.5rem auto;
}

/* 登录容器样式 */
.login-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.5s ease-out;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form input {
  margin-bottom: 15px;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: var(--transition);
}

.login-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

.login-form button {
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
}

.login-form button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  main {
    padding-left: 0;
    padding-right: 0;
  }

  section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .about-content,
  .service-grid,
  .team-grid,
  .portfolio-grid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero,
  .fullscreen-swiper,
  .swiper-slide {
    width: 100vw;
    max-width: none;
  }

  .section-subtitle {
    font-size: 2rem;
    top: 25%;
  }

  nav {
    padding: 1rem 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 0.5rem;
  }
}

/* 其他小屏幕调整 */
@media (max-width: 576px) {
  .modal-footer .btn {
    width: 100%;
    margin: 5px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }
}