/* 公共样式文件 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
  min-height: 100vh;
  color: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #64b5f6;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: rgba(100, 181, 246, 0.2);
  color: #64b5f6;
}

/* 卡片样式 */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* 按钮样式 */
.btn {
  background: linear-gradient(45deg, #64b5f6, #42a5f5);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background: linear-gradient(45deg, #42a5f5, #1e88e5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(100, 181, 246, 0.4);
}

.btn-secondary {
  background: linear-gradient(45deg, #66bb6a, #4caf50);
}

.btn-secondary:hover {
  background: linear-gradient(45deg, #4caf50, #388e3c);
}

/* 输入框样式 */
.input-group {
  margin: 15px 0;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #e3f2fd;
  font-weight: 500;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #313131;
  font-size: 16px;
  backdrop-filter: blur(5px);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: #64b5f6;
  box-shadow: 0 0 10px rgba(100, 181, 246, 0.3);
}

.info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.info-card h3::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 20px;
    background: linear-gradient(to bottom, #3498db, #e74c3c);
    border-radius: 2px;
    margin-right: 10px;
}

.info-list {
    padding-left: 0;
    margin: 0;
}

.info-list li {
    list-style: none;
    padding: 10px 0;
    /* border-bottom: 1px dashed #eee; */
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
       color: #e3f2fd;
    line-height: 1.5;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
        color: #fff;
    font-weight: 600;
}

.info-list li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}


.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  color: #b3e5fc;
}
.footer p a{
  /* 去掉原来的样式 */
  text-decoration: none;
   margin-left: 10px;
  
   color: #b3e5fc;
}
/* 响应式设计 */
@media (max-width: 768px) {
  .logo {
    font-size: 17px;
    font-weight: bold;
    color: #64b5f6;
    text-decoration: none;
}
  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  .card {
    padding: 20px;
    margin: 15px 0;
  }
}

/* 工具结果显示区域 */
.result-area {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-area h3 {
  color: #64b5f6;
  margin-bottom: 15px;
}

/* 网格布局 */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* 左右布局 */
.flex-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.flex-left {
  flex: 1;
}

.flex-right {
  flex: 1;
}

@media (max-width: 768px) {
  .flex-layout {
    display: unset;
    flex-direction: column;
    gap: 20px;
  }
}
