:root {
    --bg: #030508;
    --fg: #f1f3f9;
    --accent: #00d2ff;
    --accent-2: #3a7bd5;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --blur: blur(20px);
}

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

body {
    font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 动态背景 Canvas */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% -20%, #1a2a6c, #000);
}

/* 顶部装饰光效 */
.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

header {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero {
    max-width: 1000px;
    z-index: 1;
    animation: fadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.3));
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* 卡片区域 */
section {
    padding: 2rem 10vw 8rem;
    position: relative;
    z-index: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.1);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    display: block;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.card-link {
    text-decoration: none;
    /* 去掉下划线 */
    display: block;
    /* 保证整张卡片可点击 */
}

.card-link .card {
    cursor: pointer;
    /* 鼠标样式 */
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@media (max-width: 768px) {
    header {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 2rem 5vw 5rem;
    }
}

.site-footer {
  width: 100%;
  padding: 24px 16px;
  background: transparent; /* 或 #05070c */
  color: #9aa0a6;
  font-size: 14px;

  /* 底部 */
  position: relative;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  /* 居中 */
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.horizero-footer {
  letter-spacing: 0.5px;
}

.designer {
  margin-left: 8px;
  opacity: 0.7;
}

.beian-info {
  font-size: 13px;
  opacity: 0.6;
}

.separator {
  margin: 0 8px;
}
