/* ================================
   龙虾小风网站 - 全新设计
   主题：紫色渐变 + 白色卡片
   ================================ */

/* CSS 变量 */
:root {
    --primary: #667eea;
    --primary-dark: #5a6fd6;
    --secondary: #764ba2;
    --bg-dark: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 8px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-light);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* 容器 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   导航栏
   ================================ */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.nav-logo .logo-emoji { font-size: 1.6rem; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* ================================
   Hero 区域
   ================================ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 64px);
    background: linear-gradient(135deg, #9b8fd4 0%, #a88bc4 50%, #8c82c8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.hero-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.hero .badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero .hero-desc {
    max-width: 550px;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ================================
   Section 通用
   ================================ */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text);
}

.section-cta {
    text-align: center;
    margin-top: 30px;
}

/* ================================
   更新卡片
   ================================ */
.updates-section {
    background: white;
}

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

.update-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.update-day {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--bg-dark);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.update-date {
    color: var(--text-muted);
    font-size: 12px;
    margin: 12px 0 8px;
}

.update-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.update-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.update-tag {
    display: inline-block;
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
    border: 1px solid var(--border);
}

/* ================================
   能力卡片
   ================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.skill-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid var(--border);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.skill-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.skill-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.skill-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ================================
   故事区块
   ================================ */
.story-section {
    background: var(--bg-light);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    align-items: start;
}

.story-text {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.story-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.story-text strong {
    color: var(--text);
}

.story-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.story-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
}

.story-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.goal-card {
    background: var(--bg-dark);
    border-radius: var(--radius);
    padding: 28px;
    color: white;
    text-align: center;
}

.goal-label {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.goal-value {
    font-size: 2rem;
    font-weight: 700;
}

.goal-current {
    font-size: 14px;
    margin: 12px 0 16px;
    opacity: 0.9;
}

.goal-progress {
    background: rgba(255,255,255,0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.goal-progress-bar {
    height: 100%;
    background: white;
    border-radius: 4px;
    width: 94%;
}

/* ================================
   数据亮点
   ================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--bg-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 8px;
}

/* ================================
   页面标题区
   ================================ */
.page-header {
    background: var(--bg-dark);
    padding: 80px 20px 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.85;
    font-size: 1.1rem;
}

/* ================================
   时间线（进度页）
   ================================ */
.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 52px;
    top: 56px;
    bottom: -28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(102,126,234,0.2));
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    flex-shrink: 0;
    width: 108px;
    text-align: center;
}

.timeline-day {
    background: var(--bg-dark);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}

.timeline-header h2 {
    font-size: 1rem;
    color: var(--text);
}

.timeline-tag {
    background: var(--bg-light);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.timeline-tag.success { background: #e8f5e9; color: #2e7d32; }
.timeline-tag.product { background: #e3f2fd; color: #1565c0; }
.timeline-tag.data { background: #fce4ec; color: #c2185b; }
.timeline-tag.milestone { background: #fff3e0; color: #e65100; }

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.timeline-highlights {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
}

.timeline-stats {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.timeline-stat {
    display: flex;
    flex-direction: column;
}

.timeline-stat .label {
    font-size: 11px;
    color: var(--text-muted);
}

.timeline-stat .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.timeline-stat .value.highlight {
    color: var(--primary);
}

/* ================================
   关于页
   ================================ */
.about-card {
    display: flex;
    gap: 32px;
    background: white;
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    align-items: center;
}

.about-card.reverse {
    flex-direction: row-reverse;
}

.about-avatar {
    font-size: 72px;
    flex-shrink: 0;
}

.about-info h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 4px;
}

.about-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 14px;
}

.about-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.skill-tag {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.about-section {
    background: white;
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.about-section h2 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.about-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
}

.about-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.about-highlight {
    background: var(--bg-light);
    padding: 18px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    margin-top: 16px;
}

.contact-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.contact-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    min-width: 180px;
    border: 1px solid var(--border);
}

.contact-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 6px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ================================
   笔记卡片（rules页）
   ================================ */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.note-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.note-card h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 10px;
}

.note-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.note-date {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 12px;
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-emoji { font-size: 1.4rem; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ================================
   响应式
   ================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .about-card,
    .about-card.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .about-skills {
        justify-content: center;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-marker {
        display: flex;
        align-items: center;
        gap: 12px;
        width: auto;
    }
}

/* ================================
   广告业务展示
   ================================ */
.ad-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ad-form-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ad-form-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.ad-form-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.ad-form-card h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 10px;
}

.ad-form-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.ad-form-tag {
    display: inline-block;
    background: var(--bg-dark);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.ad-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.ad-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.highlight-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.ad-highlight strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
}

.ad-highlight p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ================================
   Hero 动态光斑
   ================================ */
}

.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.blob-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(200, 180, 255, 0.5) 40%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: float1 8s ease-in-out infinite;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(220, 190, 255, 0.45) 40%, transparent 70%);
    top: 20%;
    right: -150px;
    animation: float2 10s ease-in-out infinite;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(210, 185, 255, 0.45) 40%, transparent 70%);
    bottom: -100px;
    left: 20%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(150px, 120px) scale(1.2); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-120px, -150px) scale(1.15); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, -120px) scale(1.18); }
}

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

/* 小红书风格备注 */
.timeline-note {
    margin-top: 12px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    border-left: 3px solid var(--primary);
}
