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

/* Accessibility styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #007bff;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    height: 100vh;
    overflow: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

/* Main app introduction section */
.hero-section {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.app-intro {
    background: #ffffff;
    border: 1px solid #f1f3f4;
    border-radius: 12px;
    padding: 48px 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.app-intro:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: #007bff;
    background: #ffffff;
}

.app-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.icon {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
}

.app-intro:hover .icon {
    transform: scale(1.05);
}

.app-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 18px;
    color: #495057;
    margin-bottom: 24px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
}

.click-hint {
    font-size: 16px;
    color: #007bff;
    font-weight: 500;
    letter-spacing: 0;
}

/* WeChat QR code section */
.wechat-section {
    text-align: center;
    flex: 0 0 auto;
}

.wechat-section h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.qr-container {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 220px;
    margin: 0 auto;
    transition: all 0.2s ease;
}

.qr-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #007bff;
}

.qr-code {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.qr-container:hover .qr-code {
    transform: scale(1.05);
}

.wechat-icon {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wechat-logo {
    width: 24px;
    height: 24px;
    color: #6c757d;
    transition: color 0.2s ease;
}

.qr-container:hover .wechat-logo {
    color: #007bff;
}

/* Future tools preview */
.future-tools {
    text-align: center;
    flex: 0 0 auto;
    margin-bottom: 40px;
}

.future-tools h2 {
    font-size: 20px;
    color: #adb5bd;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        gap: 30px;
    }
    
    .app-intro {
        padding: 40px 30px;
        margin: 0 10px;
    }
    
    .app-title {
        font-size: 32px;
    }
    
    .app-subtitle {
        font-size: 16px;
    }
    
    .future-tools h2,
    .wechat-section h2 {
        font-size: 24px;
    }
    
    .icon {
        width: 50px;
        height: 50px;
    }
    
    .qr-container {
        max-width: 180px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: minmax(280px, 1fr);
    }
    
    .app-icons {
        gap: 20px;
    }
    
    .app-title {
        font-size: 24px;
    }
    
    .app-subtitle {
        font-size: 14px;
    }
    
    .click-hint {
        font-size: 14px;
    }
    
    .app-intro {
        padding: 32px 24px;
    }
}
