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

body {
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    color: #333;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* App导航栏 */
.app-navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.app-logo img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.app-title h1 {
    font-size: 20px !important;
    font-weight: 700;
    color: #1f2937 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-align: left !important;
    max-width: none !important;
}

.app-subtitle {
    font-size: 12px;
    color: #6b7280;
    display: block;
    margin-top: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* 品牌信息卡片 */
.brand-hero-card {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 50%, #ad1457 100%);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.25);
    position: relative;
    overflow: hidden;
}

.brand-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.brand-tagline {
    color: white;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.95);
    color: #c2185b;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.badge:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 工具区域 */
.tools-section {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.section-count {
    font-size: 13px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tool-card {
    background: white;
    border-radius: 6px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: visible;
}

.tool-card:hover, .tool-card:active {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
    border-color: #e91e63;
}

.tool-card.available {
    cursor: pointer;
}

.tool-card.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
}

.tool-card:hover .tool-icon {
    background: linear-gradient(135deg, #e91e63, #ad1457);
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.3);
}

.tool-card:hover .tool-icon img {
    filter: brightness(0) invert(1);
}

.tool-icon img {
    width: 24px;
    height: 24px;
}

.tool-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e91e63;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-title {
    color: #c2185b;
}

.tool-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
    min-height: 40px;
}

.tool-status {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    align-self: flex-start;
}

.status-available {
    background: linear-gradient(135deg, #e91e63, #ad1457);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.tool-card:hover .status-available {
    background: linear-gradient(135deg, #c2185b, #880e4f);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.status-coming-soon {
    background: #fff3cd;
    color: #856404;
}

.footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.8;
}

/* 移动端优化 */
@media (max-width: 480px) {
    body {
        background: #f5f7fa;
    }
    
    .navbar-content {
        padding: 12px 16px;
    }
    
    .app-logo {
        width: 36px;
        height: 36px;
    }
    
    .app-logo img {
        width: 20px;
        height: 20px;
    }
    
    .app-title h1 {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .app-subtitle {
        font-size: 11px;
        margin-top: 2px;
    }
    
    .container {
        padding: 16px;
    }
    
    .brand-hero-card {
        padding: 20px;
        border-radius: 6px;
        margin-bottom: 20px;
    }
    
    .brand-tagline {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .badge {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section-count {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tool-card {
        padding: 16px;
        border-radius: 6px;
    }
    
    .tool-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .tool-icon img {
        width: 20px;
        height: 20px;
    }
    
    .tool-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .tool-description {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
        flex: 1;
        min-height: 36px;
    }
    
    .tool-status {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .footer {
        margin-top: 32px;
        font-size: 12px;
    }
}

/* 小屏手机进一步优化 */
@media (max-width: 360px) {
    .navbar-content {
        padding: 10px 12px;
    }
    
    .app-title h1 {
        font-size: 15px;
    }
    
    .app-subtitle {
        font-size: 10px;
    }
    
    .container {
        padding: 12px;
    }
    
    .brand-hero-card {
        padding: 16px;
    }
    
    .brand-tagline {
        font-size: 12px;
    }
    
    .badge {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .tools-grid {
        gap: 10px;
    }
    
    .tool-card {
        padding: 14px;
    }
    
    .tool-icon {
        width: 36px;
        height: 36px;
    }
    
    .tool-icon img {
        width: 18px;
        height: 18px;
    }
    
    .tool-title {
        font-size: 14px;
    }
    
    .tool-description {
        font-size: 11px;
    }
}
