/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    font-size: 16px;
}

body {
    font-family: 'Courier Prime', monospace;
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* 呼吸效果背景 - 模拟自然呼吸节奏 */
body {
    background: #000;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* 主要呼吸层 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
    animation: deep-breathe 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

/* 第二层呼吸层 - 更缓慢 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.02) 0%, 
        rgba(0, 0, 0, 0) 85%);
    pointer-events: none;
    z-index: -2;
    animation: deep-breathe 12s cubic-bezier(0.22, 1, 0.36, 1) 1.5s infinite reverse;
}

/* 深层呼吸动画 - 模拟真实呼吸节奏 */
@keyframes deep-breathe {
    0% {
        transform: scale(0.98);
        opacity: 0.7;
    }
    /* 缓慢吸气阶段 */
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
    /* 缓慢呼气阶段 */
    100% {
        transform: scale(0.98);
        opacity: 0.7;
    }
}

/* 头部样式 */
header {
    position: relative;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
}

header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: 'Courier Prime', monospace;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-top,
.logo-bottom {
  font-size: 32px;
  letter-spacing: 1px;
  opacity: 1;
}

/* 英雄区域样式 */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0;
}

.hero h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 56px;
    font-weight: 300;
    line-height: 1.4;
    max-width: 1000px;
    margin: 0 auto;
}

/* 页脚样式 */
footer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.7;
}

/* 响应式设计 */
/* 平板和小桌面 */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 28px;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    header {
        padding: 20px 0;
    }
    
    .hero h2 {
        font-size: 22px;
    }
    
    .hero {
        height: auto;
        min-height: 0;
        padding: 0;
    }
    
    .breath-container {
        height: 400px;
    }
    
    footer {
        padding: 20px 0;
    }
}

/* 小屏幕移动设备 */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    header {
        padding: 15px 0;
    }
    
    .logo-top,
    .logo-bottom {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .hero {
        height: auto;
        min-height: 0;
        padding: 0;
    }
    
    .breath-container {
        width: 100%;
        height: 300px;
        padding: 0;
    }
    
    .cloud-1 {
        width: 150px;
        height: 150px;
    }
    
    .cloud-2 {
        width: 120px;
        height: 120px;
    }
    
    .cloud-3 {
        width: 90px;
        height: 90px;
    }
    
    .breath-container h2 {
        font-size: 28px;
        white-space: normal;
        line-height: 1.3;
        margin: 0;
        padding: 0 10px;
    }
    
    footer {
        padding: 15px 0;
    }
    
    footer p {
        font-size: 12px;
    }
}

/* 柔和深色呼吸云团样式 */
.breath-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.breath-cloud {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(15px);
}

.cloud-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(120, 120, 120, 0.5) 0%, rgba(120, 120, 120, 0.05) 70%);
    animation: breathe 4s infinite ease-in-out;
    z-index: 3;
}

.cloud-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.4) 0%, rgba(100, 100, 100, 0.04) 70%);
    animation: breathe 4s infinite ease-in-out;
    animation-delay: 0.1s;
    z-index: 2;
}

.cloud-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(80, 80, 80, 0.3) 0%, rgba(80, 80, 80, 0.03) 70%);
    animation: breathe 4s infinite ease-in-out;
    animation-delay: 0.2s;
    z-index: 1;
}

/* 确保标题在呼吸效果上方 */
.breath-container h2 {
    position: relative;
    z-index: 10;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 56px;
    font-weight: 300;
}

.hero-title {
    position: relative;
    z-index: 10;
    white-space: nowrap;
    overflow: visible;
    margin: 0 auto;
}

@keyframes breathe {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    40% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.5;
    }
    60% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
}

/* 柔和深色呼吸云团响应式设计 */
@media (max-width: 900px) {
    .breath-container {
        width: 100%;
        max-width: 600px;
        height: 500px;
    }
    
    .cloud-1 {
        width: 300px;
        height: 300px;
    }
    
    .cloud-2 {
        width: 240px;
        height: 240px;
    }
    
    .cloud-3 {
        width: 180px;
        height: 180px;
    }
    
    .breath-container h2 {
        font-size: 36px;
        white-space: normal;
        padding: 0 10px;
    }
}

@media (max-width: 700px) {
    .breath-container {
        width: 100%;
        height: 400px;
    }
    
    .cloud-1 {
        width: 250px;
        height: 250px;
    }
    
    .cloud-2 {
        width: 200px;
        height: 200px;
    }
    
    .cloud-3 {
        width: 150px;
        height: 150px;
    }
    
    .breath-container h2 {
        font-size: 32px;
    }
}