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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #a8e6cf 0%, #7fcdcd 25%, #81c784 50%, #4f79a4 75%, #5c6bc0 100%);
    min-height: 100vh;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* 背景装饰元素 */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #00bcd4, #4fc3f7);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #81c784, #a5d6a7);
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #5c6bc0, #7986cb);
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #4db6ac, #80cbc4);
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* 主要内容区域 */
.main-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    padding: 40px;
    gap: 60px;
}

/* 左侧内容 */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Logo区域 */
.logo-section {
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.whale-icon {
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(79, 121, 164, 0.3);
    padding: 10px;
}

.deepseek-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 标题区域 */
.title-section {
    margin-bottom: 60px;
}

.main-title {
    font-size: 120px;
    font-weight: 800;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.main-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

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

.subtitle {
    font-size: 28px;
    color: #34495e;
    font-weight: 500;
    margin-top: 10px;
}

/* 功能特点 */
.features-section {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    font-size: 16px;
}

.feature-text {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
}

/* 右侧内容 */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

/* AI标语 */
.ai-slogan {
    margin-bottom: 40px;
    text-align: right;
}

.ai-slogan h2 {
    font-size: 36px;
    color: white;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 二维码区域 */
.qr-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.qr-code .qr-inner {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.qr-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qr-label {
    font-size: 12px;
    color: white;
    text-align: center;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.qr-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qr-link:hover {
    transform: scale(1.05) translateY(-5px);
}

.qr-link:hover .qr-label {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 手机界面 */
.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7dd3fc, #06b6d4);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
}

.status-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-bar-img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.chat-interface {
    background: white;
    height: calc(100% - 60px);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
}

.chat-content {
    padding: 20px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

.message {
    margin-bottom: 20px;
}

.ai-message {
    display: flex;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.sender-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.message-text {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 18px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.input-section {
    margin-top: 20px;
}

.input-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.patient-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.ai-thinking {
    background: #e3f2fd;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.thinking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #1976d2;
    margin-bottom: 8px;
}

.progress-bar {
    height: 4px;
    background: #bbdefb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2196f3, #21cbf3);
    width: 75%;
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

.progress-text {
    font-size: 11px;
    color: #1976d2;
}

.ai-response {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #4caf50;
}

.response-header {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.response-text {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}



/* 备案信息 */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}

.icp-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.icp-info:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .right-section {
        align-items: center;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
    }
    
    .main-title {
        font-size: 80px;
    }
    
    .qr-section {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px;
    }
    
    .main-title {
        font-size: 60px;
    }
    
    .ai-slogan h2 {
        font-size: 28px;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .feature-text {
        font-size: 16px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .icp-info {
        font-size: 12px;
    }
    
    .qr-section {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .qr-code .qr-inner {
        width: 80px;
        height: 80px;
        padding: 8px;
    }
    
    .qr-label {
        font-size: 11px;
    }
}

/* 动画效果 */
.feature-item {
    animation: slideInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-mockup {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.qr-code {
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} 