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

:root {
    --bg-color: #e6e7ee;
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-dark: rgba(163, 177, 198, 0.6);
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-color);
    min-height: 100vh;
    padding: 20px;
    color: var(--text-dark);
}

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

/* 新拟物风格头部 */
.header-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 20px 20px 60px var(--shadow-dark),
                -20px -20px 60px var(--shadow-light);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
    opacity: 0.05;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-container {
    display: inline-block;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    box-shadow: 10px 10px 30px var(--shadow-dark),
                -10px -10px 30px var(--shadow-light);
}

.header-card h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 主要内容区域 */
main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 新拟物表单卡片 */
.form-card, .preview-card {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 20px 20px 60px var(--shadow-dark),
                -20px -20px 60px var(--shadow-light);
    flex: 1;
}

.preview-card {
    max-width: 500px;
}

/* 表单样式 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.icon {
    font-size: 1.2rem;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    background: var(--bg-color);
    box-shadow: inset 8px 8px 16px var(--shadow-dark),
                inset -8px -8px 16px var(--shadow-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #9ca3af;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    box-shadow: inset 6px 6px 12px var(--shadow-dark),
                inset -6px -6px 12px var(--shadow-light),
                0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* 新拟物按钮 */
.button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-neumorphic {
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    background: var(--bg-color);
    box-shadow: 10px 10px 30px var(--shadow-dark),
                -10px -10px 30px var(--shadow-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dark);
}

.btn-neumorphic:hover {
    box-shadow: 8px 8px 20px var(--shadow-dark),
                -8px -8px 20px var(--shadow-light);
}

.btn-neumorphic:active {
    box-shadow: inset 5px 5px 10px var(--shadow-dark),
                inset -5px -5px 10px var(--shadow-light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 10px 10px 30px var(--shadow-dark),
                -10px -10px 30px var(--shadow-light),
                0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 8px 8px 20px var(--shadow-dark),
                -8px -8px 20px var(--shadow-light),
                0 0 30px rgba(99, 102, 241, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    box-shadow: 10px 10px 30px var(--shadow-dark),
                -10px -10px 30px var(--shadow-light),
                0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

/* 预览卡片样式 */
.preview-header {
    text-align: center;
    margin-bottom: 30px;
}

.preview-header h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
}

.member-card {
    background: var(--bg-color);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 15px 15px 40px var(--shadow-dark),
                -15px -15px 40px var(--shadow-light);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    opacity: 0.1;
    filter: blur(60px);
}

.card-content {
    position: relative;
    z-index: 1;
}

.member-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.member-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 8px 8px 20px var(--shadow-dark),
                -8px -8px 20px var(--shadow-light);
}

.member-basic h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.member-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.separator {
    color: var(--primary-color);
}

.member-ai-focus {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.member-ai-focus h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.member-ai-focus p {
    color: var(--text-dark);
    line-height: 1.6;
}

.member-exchange {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.exchange-item {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 15px;
    box-shadow: inset 5px 5px 10px var(--shadow-dark),
                inset -5px -5px 10px var(--shadow-light);
}

.exchange-item h5 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 8px;
}

.exchange-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 5px 5px 15px var(--shadow-dark),
                -5px -5px 15px var(--shadow-light);
}

.member-contact {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(99, 102, 241, 0.1);
    flex-wrap: wrap;
}

.member-contact span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.member-contact span:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 20px 30px;
    border-radius: 15px;
    background: var(--bg-color);
    box-shadow: 10px 10px 30px var(--shadow-dark),
                -10px -10px 30px var(--shadow-light);
    color: var(--text-dark);
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.notification.info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* 人生亮点样式 */
.member-highlights {
    margin-top: 20px;
    margin-bottom: 20px;
}

.highlights-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-left: 3px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 5px 5px 15px var(--shadow-dark),
                -5px -5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
    box-shadow: 8px 8px 20px var(--shadow-dark),
                -8px -8px 20px var(--shadow-light);
}

/* 表单中的人生亮点输入框特殊样式 */
#highlights {
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
}

/* 响应式设计 */
@media (max-width: 968px) {
    main {
        flex-direction: column;
    }

    .form-card, .preview-card {
        max-width: 100%;
    }

    .header-card h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .member-exchange {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .member-header {
        flex-direction: column;
        text-align: center;
    }
}